Merge pull request #8337 from cevich/weekly_nix_cache_invalidate

Cirrus: Invalidate static cache on VM image update
This commit is contained in:
OpenShift Merge Robot
2020-11-18 12:42:31 +01:00
committed by GitHub

View File

@ -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