Use the job name instead of the arch

arch is only the hardware architecture.  this is not sufficient to
differentiate between platforms with ABI incompatibilities.  job name
should be good enough (maybe more fine-grained than we really want but
easy to express and maintain).
This commit is contained in:
Jean-Paul Calderone 2018-07-10 08:56:28 -04:00
parent f15257d9dc
commit 38c8afc6f7

View File

@ -85,8 +85,8 @@ jobs:
- restore_cache: &RESTORE_WHEELHOUSE
keys:
- v2-wheelhouse-{{ arch }}-{{ checksum "setup.py" }}-{{ checksum "src/allmydata/_auto_deps.py" }}
- v2-wheelhouse-{{ arch }}
- v2-wheelhouse-{{ .Environment.CIRCLE_JOB }}-{{ checksum "setup.py" }}-{{ checksum "src/allmydata/_auto_deps.py" }}
- v2-wheelhouse-{{ .Environment.CIRCLE_JOB }}
- v2-wheelhouse-
- run: &BOOTSTRAP_TEST_ENVIRONMENT
@ -111,7 +111,7 @@ jobs:
- "/tmp/nobody/.cache/pip"
- save_cache: &SAVE_WHEELHOUSE
key: v2-wheelhouse-{{ arch }}-{{ checksum "/tmp/project/setup.py" }}-{{ checksum "/tmp/project/src/allmydata/_auto_deps.py" }}
key: v2-wheelhouse-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/project/setup.py" }}-{{ checksum "/tmp/project/src/allmydata/_auto_deps.py" }}
paths:
- *WHEELHOUSE_PATH