Skip to content

Commit

Permalink
jobs/release: drop --arch args for cosa push-container-manifest
Browse files Browse the repository at this point in the history
If not specified the code will default to all built arches. We need
this because we'll be adding kubevirt soon and it will only be built
for x86_64.

See also coreos/coreos-assembler#3436
  • Loading branch information
dustymabe committed Apr 18, 2023
1 parent dbc32b2 commit e6bb9c5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions jobs/release.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ lock(resource: "release-${params.STREAM}", extra: locks) {
// tags
tag_suffix += "-hotfix-${pipecfg.hotfix.name}"
}
def extra_args = basearches.collect{"--arch ${it}"}
if (registry_repos.v2s2) {
extra_args += "--v2s2"
}
def v2s2_arg = registry_repos.v2s2 ? "--v2s2" : ""
def tag_args = ["--tag=${params.STREAM}${tag_suffix}"]
if (registry_repos.add_build_tag) {
tag_args += "--tag=${params.VERSION}${tag_suffix}"
Expand All @@ -259,7 +256,7 @@ lock(resource: "release-${params.STREAM}", extra: locks) {
cosa push-container-manifest --auth=\${REGISTRY_SECRET} \
--repo=${repo} ${tag_args.join(' ')} \
--artifact=${artifact} --metajsonname=${metajsonname} \
--build=${params.VERSION} ${extra_args.join(' ')}
--build=${params.VERSION} ${v2s2_arg}
""")

def old_repo = registry_repos["${configname}_old"]
Expand Down

0 comments on commit e6bb9c5

Please sign in to comment.