From 9ce3c0a87a6d7da45e71719b2ceb6d6abb0433fe Mon Sep 17 00:00:00 2001 From: Ashley Cui Date: Tue, 8 Mar 2022 09:45:48 -0500 Subject: 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 --- test/e2e/build/Dockerfile.with-multiple-secret | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 test/e2e/build/Dockerfile.with-multiple-secret (limited to 'test/e2e/build/Dockerfile.with-multiple-secret') diff --git a/test/e2e/build/Dockerfile.with-multiple-secret b/test/e2e/build/Dockerfile.with-multiple-secret deleted file mode 100644 index f3478914f..000000000 --- a/test/e2e/build/Dockerfile.with-multiple-secret +++ /dev/null @@ -1,3 +0,0 @@ -FROM alpine -RUN --mount=type=secret,id=mysecret cat /run/secrets/mysecret -RUN --mount=type=secret,id=mysecret2 cat /run/secrets/mysecret2 -- cgit v1.2.3-54-g00ecf