From b2bf7bc11b4451ba28738cfbf0638bdd2240a5c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Hozza?= Date: Thu, 30 Jan 2025 10:53:23 +0100 Subject: [PATCH] GitLab CI/manifest_tests: explicitly specify workdir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Explicitly specify the workdir when running manifest_tests, make potential debugging of the test case on CI runner easier (because otherwise the workdir would get removed after failing test). Signed-off-by: Tomáš Hozza --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5f79e3f..af4600dc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -115,7 +115,7 @@ Manifests: if [[ "$ID" == "rhel" || "$ID" == "centos" ]]; then export GOFLAGS="-tags=exclude_graphdriver_btrfs" fi - - test/cases/manifest_tests --rm-artifacts-after-test $SCRIPT_EXTRA_ARGS + - test/cases/manifest_tests --rm-artifacts-after-test --workdir ./osbuild-manifest-tests-workdir $SCRIPT_EXTRA_ARGS variables: PYTHONUNBUFFERED: 1 # List of image types that are not supported by osbuild-image-info