Skip to content

Commit 728a7ba

Browse files
Bot Updating Templated Files
1 parent d986190 commit 728a7ba

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

Jenkinsfile

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ pipeline {
575575
--label \"org.opencontainers.image.title=Code-server\" \
576576
--label \"org.opencontainers.image.description=[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. \" \
577577
--no-cache --pull -t ${IMAGE}:${META_TAG} --platform=linux/amd64 \
578-
--provenance=false --sbom=false --builder=container --load \
578+
--provenance=true --sbom=true --builder=container --load \
579579
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
580580
sh '''#! /bin/bash
581581
set -e
@@ -604,7 +604,9 @@ pipeline {
604604
for i in "${CACHE[@]}"; do
605605
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
606606
done
607-
wait
607+
for p in $(jobs -p); do
608+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
609+
done
608610
fi
609611
'''
610612
}
@@ -639,7 +641,7 @@ pipeline {
639641
--label \"org.opencontainers.image.title=Code-server\" \
640642
--label \"org.opencontainers.image.description=[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. \" \
641643
--no-cache --pull -t ${IMAGE}:amd64-${META_TAG} --platform=linux/amd64 \
642-
--provenance=false --sbom=false --builder=container --load \
644+
--provenance=true --sbom=true --builder=container --load \
643645
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
644646
sh '''#! /bin/bash
645647
set -e
@@ -668,7 +670,9 @@ pipeline {
668670
for i in "${CACHE[@]}"; do
669671
docker push ${i}:amd64-${COMMIT_SHA}-${BUILD_NUMBER} &
670672
done
671-
wait
673+
for p in $(jobs -p); do
674+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
675+
done
672676
fi
673677
'''
674678
}
@@ -696,7 +700,7 @@ pipeline {
696700
--label \"org.opencontainers.image.title=Code-server\" \
697701
--label \"org.opencontainers.image.description=[Code-server](https://coder.com) is VS Code running on a remote server, accessible through the browser. - Code on your Chromebook, tablet, and laptop with a consistent dev environment. - If you have a Windows or Mac workstation, more easily develop for Linux. - Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. - Preserve battery life when you're on the go. - All intensive computation runs on your server. - You're no longer running excess instances of Chrome. \" \
698702
--no-cache --pull -f Dockerfile.aarch64 -t ${IMAGE}:arm64v8-${META_TAG} --platform=linux/arm64 \
699-
--provenance=false --sbom=false --builder=container --load \
703+
--provenance=true --sbom=true --builder=container --load \
700704
--build-arg ${BUILD_VERSION_ARG}=${EXT_RELEASE} --build-arg VERSION=\"${VERSION_TAG}\" --build-arg BUILD_DATE=${GITHUB_DATE} ."
701705
sh '''#! /bin/bash
702706
set -e
@@ -725,7 +729,9 @@ pipeline {
725729
for i in "${CACHE[@]}"; do
726730
docker push ${i}:arm64v8-${COMMIT_SHA}-${BUILD_NUMBER} &
727731
done
728-
wait
732+
for p in $(jobs -p); do
733+
wait "$p" || { echo "job $p failed" >&2; exit 1; }
734+
done
729735
fi
730736
'''
731737
}

0 commit comments

Comments
 (0)