Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PaulDuvall/f50a3d0b2f8d071e0b40913acb000cee to your computer and use it in GitHub Desktop.
Save PaulDuvall/f50a3d0b2f8d071e0b40913acb000cee to your computer and use it in GitHub Desktop.
Pipeline:
Type: AWS::CodePipeline::Pipeline
Properties:
RoleArn: !GetAtt CodePipelineRole.Arn
Stages:
- Name: Source
Actions:
- InputArtifacts: []
Name: Source
ActionTypeId:
Category: Source
Owner: ThirdParty
Version: '1'
Provider: GitHub
OutputArtifacts:
- Name: SourceArtifacts
Configuration:
Owner: !Ref GitHubUser
Repo: !Ref GitHubRepo
Branch: !Ref GitHubBranch
OAuthToken: !Ref GitHubToken
RunOrder: 1
- Name: Build
Actions:
- InputArtifacts:
- Name: SourceArtifacts
Name: GenerateDiagrams
ActionTypeId:
Category: Test
Owner: AWS
Version: '1'
Provider: CodeBuild
OutputArtifacts: []
Configuration:
ProjectName:
Ref: CodeBuildCommands
RunOrder: 1
ArtifactStore:
Type: S3
Location: !Ref PipelineBucket
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment