Skip to content

Commit

Permalink
remove ProdCodeBuild project
Browse files Browse the repository at this point in the history
  • Loading branch information
rrigato committed Dec 10, 2023
1 parent 3343c32 commit 2933d2c
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 2933d2c

Please sign in to comment.