Last active
September 18, 2022 13:35
-
-
Save patrickbrus/3e2cae84b3943380f418c66ed0e7424d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CloudFormationCodePipeline: | |
Type: AWS::CodePipeline::Pipeline | |
Properties: | |
Name: !Ref CodePipelineProjectName | |
RoleArn: !GetAtt BirdsClassifierCodePipelineServiceRole.Arn | |
Stages: | |
- Name: SourceStage | |
Actions: | |
- Name: SourceAction | |
ActionTypeId: | |
Category: Source | |
Owner: AWS | |
Provider: CodeStarSourceConnection | |
Version: "1" | |
OutputArtifacts: | |
- Name: SourceArtifacts | |
RunOrder: 1 | |
Configuration: | |
BranchName: master | |
ConnectionArn: !Sub arn:aws:codestar-connections:us-east-1:${AWS::AccountId}:connection/d64c6f5e-3572-4ed7-b2a6-da6b6883bc98 | |
DetectChanges: "true" | |
FullRepositoryId: patrickbrus/Birds_Classifier_API | |
OutputArtifactFormat: CODE_ZIP | |
- Name: BuildStage | |
Actions: | |
- Name: Build | |
ActionTypeId: | |
Category: Build | |
Owner: AWS | |
Provider: CodeBuild | |
Version: "1" | |
OutputArtifacts: | |
- Name: BuildArtifacts | |
InputArtifacts: | |
- Name: SourceArtifacts | |
Configuration: | |
ProjectName: !Ref CodeBuildDockerBirdsClassifierImage | |
- Name: DeployStage | |
Actions: | |
- Name: DeployToStaging | |
ActionTypeId: | |
Category: Deploy | |
Owner: AWS | |
Provider: ElasticBeanstalk | |
Version: "1" | |
RunOrder: 1 | |
Configuration: | |
ApplicationName: !Sub ${ElasticApplicationName}-app | |
EnvironmentName: !Sub ${ElasticApplicationName}-env-staging | |
InputArtifacts: | |
- Name: BuildArtifacts | |
- Name: Approval | |
ActionTypeId: | |
Category: Approval | |
Owner: AWS | |
Provider: Manual | |
Version: '1' | |
RunOrder: 2 | |
- Name: DeployToProduction | |
ActionTypeId: | |
Category: Deploy | |
Owner: AWS | |
Provider: ElasticBeanstalk | |
Version: '1' | |
RunOrder: 3 | |
Configuration: | |
ApplicationName: !Sub ${ElasticApplicationName}-app | |
EnvironmentName: !Sub ${ElasticApplicationName}-env-prod | |
InputArtifacts: | |
- Name: BuildArtifacts | |
ArtifactStore: | |
Location: !Ref S3BucketName | |
Type: S3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment