change to use GitHub instead of code commit
This commit is contained in:
parent
c3d18d5582
commit
284c05ee29
@ -8,7 +8,7 @@ Parameters:
|
|||||||
qsPipelineName:
|
qsPipelineName:
|
||||||
Description: The name of the AWS Code Pipeline
|
Description: The name of the AWS Code Pipeline
|
||||||
Type: String
|
Type: String
|
||||||
Default: WG-pipe
|
Default: WG-pipeline
|
||||||
MinLength: 1
|
MinLength: 1
|
||||||
qsPipelineRoleARN:
|
qsPipelineRoleARN:
|
||||||
Description: The complete ARN to the IAM role that code pipeline should use
|
Description: The complete ARN to the IAM role that code pipeline should use
|
||||||
@ -22,6 +22,15 @@ Parameters:
|
|||||||
Description: The Branch in the Repository
|
Description: The Branch in the Repository
|
||||||
Type: String
|
Type: String
|
||||||
MinLength: 1
|
MinLength: 1
|
||||||
|
qsGitHubUser:
|
||||||
|
Description: The GitHub User Id
|
||||||
|
Type: String
|
||||||
|
MinLength: 1
|
||||||
|
qsGitHubAPIToken:
|
||||||
|
Description: The GitHub Personal Access token do not use password
|
||||||
|
NoEcho: true
|
||||||
|
Type: String
|
||||||
|
MinLength: 1
|
||||||
qsS3PipelineArtifacts:
|
qsS3PipelineArtifacts:
|
||||||
Description: Where Code Pipeline will state artifacts in S3
|
Description: Where Code Pipeline will state artifacts in S3
|
||||||
Type: String
|
Type: String
|
||||||
@ -33,7 +42,7 @@ Parameters:
|
|||||||
qsCodeBuildName:
|
qsCodeBuildName:
|
||||||
Description: Name of the AWS Code Build
|
Description: Name of the AWS Code Build
|
||||||
Type: String
|
Type: String
|
||||||
Default: WG-builder
|
Default: WG-mvnBuilder
|
||||||
MinLength: 1
|
MinLength: 1
|
||||||
qsKMSKeyARN:
|
qsKMSKeyARN:
|
||||||
Description: The KMS ARN that the IAM Role is allowed to use
|
Description: The KMS ARN that the IAM Role is allowed to use
|
||||||
@ -84,12 +93,14 @@ Resources:
|
|||||||
- Name: CodeSource
|
- Name: CodeSource
|
||||||
ActionTypeId:
|
ActionTypeId:
|
||||||
Category: Source
|
Category: Source
|
||||||
Owner: AWS
|
Owner: ThirdParty
|
||||||
Provider: CodeCommit
|
Provider: GitHub
|
||||||
Version: 1
|
Version: 1
|
||||||
Configuration:
|
Configuration:
|
||||||
BranchName: !Ref 'qsRepoBranch'
|
BranchName: !Ref 'qsRepoBranch'
|
||||||
RepositoryName: !Ref 'qsCodeRepo'
|
RepositoryName: !Ref 'qsCodeRepo'
|
||||||
|
Owner: !Ref 'qsGitHubUser'
|
||||||
|
OAuthToken: !Ref 'qsGitHubAPIToken'
|
||||||
OutputArtifacts:
|
OutputArtifacts:
|
||||||
- Name: MySource
|
- Name: MySource
|
||||||
RunOrder: '1'
|
RunOrder: '1'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user