about summary refs log tree commit diff
path: root/src/test/rustdoc-js-std/enum-option.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-02-18 17:34:14 +0000
committerbors <bors@rust-lang.org>2019-02-18 17:34:14 +0000
commit146aa60f3484d8267e085e80611969f387eca068 (patch)
tree2549a6c09c464248dcdfdf4df3fafe595b1a0157 /src/test/rustdoc-js-std/enum-option.js
parent684b09ba7f7b2e163a198fd843128e7260e24e6c (diff)
parent2b2045d16173b3db25c74680b25cae67d41248df (diff)
downloadrust-146aa60f3484d8267e085e80611969f387eca068.tar.gz
rust-146aa60f3484d8267e085e80611969f387eca068.zip
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
Diffstat (limited to 'src/test/rustdoc-js-std/enum-option.js')
0 files changed, 0 insertions, 0 deletions