sparse-intern-71089
06/03/2020, 6:18 PMkind-mechanic-53546
06/04/2020, 6:20 AMRUN echo ${BUILD_GIT_HASH} > /tmp/git_cache_buster.txt && \
git clone ${BUILD_GIT_URL} --branch ${BUILD_GIT_BRANCH} ./ ...<snip>...
this process means that if the branch hash is the same, the image will be the same and therefore use all cached layers
Git hash is generated by git rev-parse --short=8 [origin]/component-name-dev
This is managed in a dynamic provider
HTHloud-soccer-66701
06/04/2020, 7:43 AMkind-mechanic-53546
06/05/2020, 11:22 PMNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by