rust/src/ci
bors 146aa60f34 Auto merge of #58549 - pietroalbini:fix-docker-ci-hash, r=Mark-Simulacrum
ci: fix docker cache hash collision

#58416 uncovered a bug in our caching for docker images: if the image `foo` pulls files from the image `bar` and a file in `bar` changed, the hash of `foo` will be the same even though it should be different. In that PR's case, `dist-i686-linux` pulls scripts from `dist-x86_64-linux`, and the PR only changed those scripts, causing an hash collision for `dist-i686-linux`.

We have to fix this, since the image will be rebuilt every time bors switches from testing master to testing beta/stable (and when it switches back), making CI way more painful than it currently is.

The approach used by this PR is to just include all the files in `src/ci/docker` in the hash. It's a bit heavy-handed and it will cause a rebuild of all the images every time a single image changes, but it's the best I can think of.

r? @Mark-Simulacrum
cc @alexcrichton @kennytm
2019-02-18 17:34:14 +00:00
..
docker Auto merge of #58549 - pietroalbini:fix-docker-ci-hash, r=Mark-Simulacrum 2019-02-18 17:34:14 +00:00
init_repo.sh Clean up build-x86_64-fortanix-unknown-sgx-toolchain.sh 2019-01-26 14:53:00 +05:30
run.sh Revert "Auto merge of #57975 - alexcrichton:debug-exit-appveyor, r=pietroalbini" 2019-02-06 15:17:15 +01:00
shared.sh Clean up build-x86_64-fortanix-unknown-sgx-toolchain.sh 2019-01-26 14:53:00 +05:30