Created
September 18, 2022 15:05
-
-
Save patrickbrus/bf3c758979a8202a2170a79b79661f90 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
CodeBuildDockerBirdsClassifierImage: | |
Type: AWS::CodeBuild::Project | |
Properties: | |
Name: !Ref CodeBuildProjectName | |
ServiceRole: !Ref CodeBuildBirdsClassifierImageServiceRole | |
Artifacts: | |
Type: CODEPIPELINE | |
LogsConfig: | |
CloudWatchLogs: | |
Status: ENABLED | |
GroupName: !Sub ${CodeBuildProjectName}-CloudWatchLogs-BuildLogGroup-Name | |
Environment: | |
Type: LINUX_CONTAINER | |
PrivilegedMode: true | |
Image: aws/codebuild/standard:6.0 | |
ComputeType: BUILD_GENERAL1_SMALL | |
EnvironmentVariables: | |
- Name: IMAGE_TAG | |
Type: PLAINTEXT | |
Value: latest | |
- Name: IMAGE_REPO_NAME | |
Type: PLAINTEXT | |
Value: birds-classifier-image | |
- Name: BUCKET_NAME | |
Type: PLAINTEXT | |
Value: !Ref S3BucketNameTrainedModel | |
- Name: BUCKET_REGION | |
Type: PLAINTEXT | |
Value: eu-central-1 | |
Source: | |
Type: CODEPIPELINE | |
BuildSpec: aws_build_specs/buildspec_zip.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment