Merge pull request #1278 from aluzzardi/exec-mount-cache-fix-test

engine.#Exec: fix mount cache flaky test
This commit is contained in:
Sam Alba 2021-12-21 09:37:13 -08:00 committed by GitHub
commit cbd141d019
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -41,8 +41,7 @@ setup() {
"$DAGGER" --europa up ./env.cue "$DAGGER" --europa up ./env.cue
"$DAGGER" --europa up ./hosts.cue "$DAGGER" --europa up ./hosts.cue
# FIXME: disabled - flaky "$DAGGER" --europa up ./mount_cache.cue
# "$DAGGER" --europa up ./mount_cache.cue
"$DAGGER" --europa up ./mount_fs.cue "$DAGGER" --europa up ./mount_fs.cue
TESTSECRET="hello world" "$DAGGER" --europa up ./mount_secret.cue TESTSECRET="hello world" "$DAGGER" --europa up ./mount_secret.cue
"$DAGGER" --europa up ./mount_tmp.cue "$DAGGER" --europa up ./mount_tmp.cue

View File

@ -32,7 +32,7 @@ engine.#Plan & {
input: image.output input: image.output
mounts: cache: { mounts: cache: {
dest: "/cache" dest: "/cache"
contents: sharedCache contents: exec.mounts.cache.contents
} }
args: [ args: [
"sh", "-c", "sh", "-c",