Skip to content

Commit

Permalink
test: disable artifacts cache with composefs
Browse files Browse the repository at this point in the history
layers restored from a tarball won't be converted to composefs (for
now at least), so disable the cache when using composefs.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Jul 15, 2024
1 parent cac48ca commit 5d6c264
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/cirrus/setup_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ if [[ "$CI_DESIRED_STORAGE" = "composefs" ]]; then
if [[ "$PRIV_NAME" == "root" ]]; then
CI_DESIRED_COMPOSEFS="+composefs"

# artifacts restored from a tarball won't be stored correctly
# in composefs, so we need to disable this feature for now.
export NO_TEST_CACHE=true

# KLUDGE ALERT! Magic options needed for testing composefs.
# This option was intended for passing one arg to --storage-opt
# but we're hijacking it to pass an extra option+arg. And it
Expand Down

0 comments on commit 5d6c264

Please sign in to comment.