Skip to content

Commit 8650130

Browse files
committed
config: add per-stream skip_brew_upload knob
Add a per-stream knob that enables the ability to skip brew uploads. This will allow us to skip these uploads for streams that don't need to be uploaded to brew, like development RHCOS builds that are based on CentOS Stream.
1 parent 788477b commit 8650130

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)