diff options
author | Chris Evich <cevich@redhat.com> | 2022-04-25 14:45:40 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-05-10 10:49:32 -0400 |
commit | abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2 (patch) | |
tree | 17236ba1024a616bb5164fff20e6479376d6c1ff /contrib/cirrus/runner.sh | |
parent | 237f7612628cb66920c4d63dea1aa1b015ec2e68 (diff) | |
download | podman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.tar.gz podman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.tar.bz2 podman-abf4f77bc76b456f6f4c2ecbfc4db4dcb2523ee2.zip |
Cirrus: Simplify use of cache in automation
With the increasingly complex `.cirrus.yml` task relationships, build
cache wasn't always working as intended. Recently, non-build tasks were
observed assuming authority over `gopath_cache`. Ref.:
https://github.com/containers/podman/pull/13998#issuecomment-1108834538
Address this by an overall simplification using artifacts instead of
cache. Using artifacts allows establishing concrete
authorship/authority over cached repo. content. In this way, dependent
tasks may simply consume the artifact with `curl` instead of relying on
complex caching algorithms.
Also/Minor: Add YAML checking to the pre-commit configuration.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/runner.sh')
0 files changed, 0 insertions, 0 deletions