Skip to content

Commit

Permalink
Merge pull request #26 from rrigato/dev
Browse files Browse the repository at this point in the history
remove ProdCodeBuild project
  • Loading branch information
rrigato authored Dec 10, 2023
2 parents 272e84b + 2933d2c commit f5df700
Showing 1 changed file with 0 additions and 55 deletions.
55 changes: 0 additions & 55 deletions templates/code_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,61 +143,6 @@ Resources:
TimeoutInMinutes: 5



#################################
#Production Code Build that runs python
#tests and deploys code to prod
#
###################################
ProdCodeBuildDeploy:
#Need the ProdArtifactsBucket Created first before This
#CodeBuild Project can start
DependsOn: ProdArtifactsBucket
Type: AWS::CodeBuild::Project
Properties:
#Output location for the CodeBuild Project
Artifacts:
Type: S3
Location:
!Join ['', ['prod-build-', !Ref ProjectName]]
Packaging: NONE
#Allows for git badge at top of git repo
BadgeEnabled: true
#Where logs are written to from code build
LogsConfig:
CloudWatchLogs:
Status: ENABLED
GroupName:
!Join ['', ['prod-build-', !Ref ProjectName]]
S3Logs:
Status: ENABLED
Location:
!Join ['', ['prod-build-', !Ref ProjectName,
'/buildlogs']]
#Standard Linux Image environment
Environment:
ComputeType: BUILD_GENERAL1_SMALL
#Used to pass the production account arn
#to the builds/py/prod_stack_build.py
EnvironmentVariables:
-
Name: PROD_CROSS_ACCOUNT_ARN
Value: !Ref ProdCrossAccountArn
Image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
Type: LINUX_CONTAINER

Name:
!Join ['', ['prod-build-', !Ref ProjectName]]
ServiceRole: !Ref ProdCodeBuildRole
#CodeCommit Git repo used for CodeBuild
Source:
#Buildspec file to use for the prod build
BuildSpec: builds/buildspec_prod.yml
Location: !GetAtt GitRepo.CloneUrlHttp
Type: CODECOMMIT
TimeoutInMinutes: 5


##########################################
#Code Pipeline Is broken down into stages
#that occur sequentially These can be
Expand Down

0 comments on commit f5df700

Please sign in to comment.