summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-11-18 12:42:31 +0100
committerGitHub <noreply@github.com>2020-11-18 12:42:31 +0100
commit286d356db03a2511722155022c19855f8aee73cf (patch)
tree04c524203a0a7e6d355cc59c1628c2aaa821aafa
parente4e92d6104cc5d60b2e771d2d8fbab61e96748a9 (diff)
parentb8d25bd2cdea0bde053d9895bff53b8564ebcac9 (diff)
downloadpodman-286d356db03a2511722155022c19855f8aee73cf.tar.gz
podman-286d356db03a2511722155022c19855f8aee73cf.tar.bz2
podman-286d356db03a2511722155022c19855f8aee73cf.zip
Merge pull request #8337 from cevich/weekly_nix_cache_invalidate
Cirrus: Invalidate static cache on VM image update
-rw-r--r--.cirrus.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 4156e3082..5f99b0490 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -362,7 +362,8 @@ static_alt_build_task:
# this cache ensures only the static podman binary is built.
nix_cache:
folder: '/var/cache/nix'
- fingerprint_script: cat nix/*
+ # Cirrus will calculate/use sha of this output as the cache key
+ fingerprint_script: echo "${IMAGE_SUFFIX}" && cat nix/*
setup_script: *setup
main_script: *main
always: *binary_artifacts