Skip to content

Commit c1fe218

Browse files
authored
feat: skip_test_images
1 parent 828df5d commit c1fe218

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/build-docker-artifacts-config.schema.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121
"default": false,
2222
"description": "Skip building the build"
2323
},
24+
"skip_test_images": {
25+
"type": "boolean",
26+
"default": false,
27+
"description": "Skip the test_images hook"
28+
},
2429
"components": {
2530
"type": "array",
2631
"items": {

.github/workflows/build-docker-artifacts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
const hooksDirectory = path.join('./deploy/build', flavor.directory, 'hooks');
109109
const testImagesHookScript = path.join(hooksDirectory, 'test-images.sh');
110110
const testImagesHookReport = path.join(hooksDirectory, 'test-images-report');
111-
const testImageEnabled = fs.existsSync(testImagesHookScript);
111+
const testImageEnabled = !flavor.skip_test_images && fs.existsSync(testImagesHookScript);
112112
113113
return {
114114
...flavor,

0 commit comments

Comments
 (0)