Skip to content

Commit fe95c57

Browse files
committed
dry-run patch
1 parent 4f5154c commit fe95c57

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

jobs/release.Jenkinsfile

+11-10
Original file line numberDiff line numberDiff line change
@@ -270,16 +270,17 @@ lock(resource: "release-${params.STREAM}", extra: locks) {
270270
for (repo in repos) {
271271
def tag_args = repo.tags.collect{"--tag=$it"}
272272
def v2s2_arg = repo.v2s2 ? "--v2s2" : ""
273-
shwrap("""
274-
export COSA_SUPERMIN_MEMORY=1024 # this really shouldn't require much RAM
275-
cp \${REGISTRY_SECRET} tmp/push-secret-${metajsonname}
276-
cosa supermin-run /usr/lib/coreos-assembler/cmd-push-container-manifest \
277-
--auth=tmp/push-secret-${metajsonname} \
278-
--repo=${repo.repo} ${tag_args.join(' ')} \
279-
--artifact=${artifact} --metajsonname=${metajsonname} \
280-
--build=${params.VERSION} ${v2s2_arg}
281-
rm tmp/push-secret-${metajsonname}
282-
""")
273+
println "Would push to ${repo.repo} with tags ${tag_args.join(' ')}"
274+
// shwrap("""
275+
// export COSA_SUPERMIN_MEMORY=1024 # this really shouldn't require much RAM
276+
// cp \${REGISTRY_SECRET} tmp/push-secret-${metajsonname}
277+
// cosa supermin-run /usr/lib/coreos-assembler/cmd-push-container-manifest \
278+
// --auth=tmp/push-secret-${metajsonname} \
279+
// --repo=${repo.repo} ${tag_args.join(' ')} \
280+
// --artifact=${artifact} --metajsonname=${metajsonname} \
281+
// --build=${params.VERSION} ${v2s2_arg}
282+
// rm tmp/push-secret-${metajsonname}
283+
// """)
283284
}
284285
}
285286
}]}

0 commit comments

Comments
 (0)