Created
August 15, 2019 21:58
-
-
Save josjaf/f3e056ca9433fa4194c1f35cb71f35cd 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
codebuild_docker_build_aardvark = aws_codebuild. \ | |
PipelineProject(self, "CodebuildDockerBuildAardvark", | |
project_name=f"{shared_params['namespace']}-Docker-Build-Aardvark", | |
build_spec=aws_codebuild.BuildSpec.from_source_filename( | |
filename='pipeline_delivery/aardvark_buildspec.yml'), | |
environment=aws_codebuild.BuildEnvironment( | |
privileged=True, | |
# build_image='LinuxBuildImage.STANDARD_1_0', | |
), | |
environment_variables={ | |
'ecr': aws_codebuild.BuildEnvironmentVariable( | |
value=ecr.repository_uri), | |
'tag': aws_codebuild.BuildEnvironmentVariable( | |
value='aardvark') | |
}, | |
description='Pipeline for CodeBuild', | |
timeout=core.Duration.minutes(60), | |
role=codebuild_role, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment