From c1fe218fbb2c582dbfeec7f9d991767f88d4b4d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=BChringer?= <51900829+puehringer@users.noreply.github.com> Date: Tue, 18 Nov 2025 14:15:24 +0100 Subject: [PATCH] feat: skip_test_images --- .github/workflows/build-docker-artifacts-config.schema.json | 5 +++++ .github/workflows/build-docker-artifacts.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-docker-artifacts-config.schema.json b/.github/workflows/build-docker-artifacts-config.schema.json index d964af33..8604a918 100644 --- a/.github/workflows/build-docker-artifacts-config.schema.json +++ b/.github/workflows/build-docker-artifacts-config.schema.json @@ -21,6 +21,11 @@ "default": false, "description": "Skip building the build" }, + "skip_test_images": { + "type": "boolean", + "default": false, + "description": "Skip the test_images hook" + }, "components": { "type": "array", "items": { diff --git a/.github/workflows/build-docker-artifacts.yml b/.github/workflows/build-docker-artifacts.yml index 5d23e66f..0bf3a0a0 100644 --- a/.github/workflows/build-docker-artifacts.yml +++ b/.github/workflows/build-docker-artifacts.yml @@ -108,7 +108,7 @@ jobs: const hooksDirectory = path.join('./deploy/build', flavor.directory, 'hooks'); const testImagesHookScript = path.join(hooksDirectory, 'test-images.sh'); const testImagesHookReport = path.join(hooksDirectory, 'test-images-report'); - const testImageEnabled = fs.existsSync(testImagesHookScript); + const testImageEnabled = !flavor.skip_test_images && fs.existsSync(testImagesHookScript); return { ...flavor,