summaryrefslogtreecommitdiff
path: root/test/e2e/build/Dockerfile.with-secret
diff options
context:
space:
mode:
authorAshley Cui <acui@redhat.com>2022-03-08 09:45:48 -0500
committerMatthew Heon <mheon@redhat.com>2022-03-30 13:53:00 -0400
commite308213a2310c0447c4adbdc635bc75f6b5404db (patch)
tree0c25139fef26ced92e95b584f3c43dfd739e219d /test/e2e/build/Dockerfile.with-secret
parent6d8d8fb7186628bd6781ee37439752e234319b3e (diff)
downloadpodman-e308213a2310c0447c4adbdc635bc75f6b5404db.tar.gz
podman-e308213a2310c0447c4adbdc635bc75f6b5404db.tar.bz2
podman-e308213a2310c0447c4adbdc635bc75f6b5404db.zip
Move secret-verify-leak containerfile into its own Directory
Secret-verify-leak is causing flakes, when running in parallel tests. This is because remote secrets are copied into the context directory to send to the API server, and secret-verify-leak is doing a COPY * and then checking if the temporary secret file ends up in the container or not. Since all the temporary files are prefixed with "podman-build-secret", this test checks if podman-build-secret is in the image. However, when run in parallel with other tests, other temporary podman-build-secrets might be in the context dir. Moving secret-verify-leak into its own directory makes sure that the context dir is used only by this one test. Also renamed Dockerfile -> Containerfile and cleaned up unused Containerfiles. Signed-off-by: Ashley Cui <acui@redhat.com>
Diffstat (limited to 'test/e2e/build/Dockerfile.with-secret')
-rw-r--r--test/e2e/build/Dockerfile.with-secret2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/e2e/build/Dockerfile.with-secret b/test/e2e/build/Dockerfile.with-secret
deleted file mode 100644
index 920663a92..000000000
--- a/test/e2e/build/Dockerfile.with-secret
+++ /dev/null
@@ -1,2 +0,0 @@
-FROM alpine
-RUN --mount=type=secret,id=mysecret cat /run/secrets/mysecret