From 284c05ee2954901acc358b9e09ad3a539281fc49 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Parks" Date: Sat, 22 Apr 2017 14:33:50 -0400 Subject: [PATCH] change to use GitHub instead of code commit --- .../codepipelinebuild/01_codepiplinebuild.yml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/platformQuickStarts/AWS/codepipelinebuild/01_codepiplinebuild.yml b/platformQuickStarts/AWS/codepipelinebuild/01_codepiplinebuild.yml index 58fea5055..a6e46e8d8 100644 --- a/platformQuickStarts/AWS/codepipelinebuild/01_codepiplinebuild.yml +++ b/platformQuickStarts/AWS/codepipelinebuild/01_codepiplinebuild.yml @@ -8,7 +8,7 @@ Parameters: qsPipelineName: Description: The name of the AWS Code Pipeline Type: String - Default: WG-pipe + Default: WG-pipeline MinLength: 1 qsPipelineRoleARN: Description: The complete ARN to the IAM role that code pipeline should use @@ -22,6 +22,15 @@ Parameters: Description: The Branch in the Repository Type: String 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: Description: Where Code Pipeline will state artifacts in S3 Type: String @@ -33,7 +42,7 @@ Parameters: qsCodeBuildName: Description: Name of the AWS Code Build Type: String - Default: WG-builder + Default: WG-mvnBuilder MinLength: 1 qsKMSKeyARN: Description: The KMS ARN that the IAM Role is allowed to use @@ -84,12 +93,14 @@ Resources: - Name: CodeSource ActionTypeId: Category: Source - Owner: AWS - Provider: CodeCommit + Owner: ThirdParty + Provider: GitHub Version: 1 Configuration: BranchName: !Ref 'qsRepoBranch' RepositoryName: !Ref 'qsCodeRepo' + Owner: !Ref 'qsGitHubUser' + OAuthToken: !Ref 'qsGitHubAPIToken' OutputArtifacts: - Name: MySource RunOrder: '1'