Skip to content

Commit 4b36444

Browse files
authored
Merge pull request #924 from marmijo/skip-brew-per-stream
config: add per-stream `skip_brew_upload` knob
2 parents 788477b + 8650130 commit 4b36444

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ streams:
9797
skip_govcloud_hack: true
9898
# OPTIONAL/TEMPORARY: don't upload images to clouds
9999
skip_cloud_uploads: true
100+
# OPTIONAL: dont perform Brew uploads
101+
skip_brew_upload: true
100102
# Use newly added support for building images using OSBuild
101103
use_osbuild: true
102104

jobs/release.Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ lock(resource: "release-${params.STREAM}", extra: locks) {
293293
}
294294
}
295295

296-
if (brew_profile) {
296+
if (brew_profile && !stream_info.skip_brew_upload) {
297297
stage('Brew Upload') {
298298
def tag = pipecfg.streams[params.STREAM].brew_tag
299299
for (arch in basearches) {

0 commit comments

Comments
 (0)