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 PM