Created
September 11, 2020 05:57
-
-
Save andreidiaconu90/d01525525d6f7f748029dfb3a3a56991 to your computer and use it in GitHub Desktop.
codepipeline-codebuild
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
DeployToStaging: | |
Type: AWS::CodeBuild::Project | |
Properties: | |
Name: "Deploy-to-staging" #this is the name that we'll later use to reference this project inside the CodePipeline definition | |
ServiceRole: !GetAtt | |
- ResourcesCodePipelineServiceRole #codepipeline will pass this role to the CodeBuild projects so that they have the rights to create/update/delete resources | |
- Arn | |
Artifacts: | |
Type: CODEPIPELINE | |
Environment: | |
Type: LINUX_CONTAINER | |
ComputeType: BUILD_GENERAL1_SMALL | |
Image: aws/codebuild/standard:4.0 | |
EnvironmentVariables: | |
- Name: environment | |
Value: staging | |
Source: | |
Type: CODEPIPELINE | |
BuildSpec: "buildspec.yml" | |
TimeoutInMinutes: 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment