From 17181a8ed6eb401383db78ef917a26f58b937b40 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 24 Oct 2023 00:38:41 +0000 Subject: [PATCH] Split builds into 2 parts to prevent excessive CPU/memory usage --- do-release.sh | 1 + push-images.sh | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/do-release.sh b/do-release.sh index 51d2b0d..2b3b977 100755 --- a/do-release.sh +++ b/do-release.sh @@ -17,6 +17,7 @@ set -e ./build-rpi64-buster.sh $1 & ./build-armhf-bullseye.sh $1 & ./build-aarch64-bullseye.sh $1 & +wait ./build-rpi-bookworm.sh $1 & ./build-rpi64-bookworm.sh $1 & ./build-armhf-bookworm.sh $1 & diff --git a/push-images.sh b/push-images.sh index e7c8e28..622afdd 100755 --- a/push-images.sh +++ b/push-images.sh @@ -6,8 +6,8 @@ docker build --pull -f Dockerfile.rpi.buster -t cgutman/moonlight-packaging:rpi- docker build --pull -f Dockerfile.rpi64.buster -t cgutman/moonlight-packaging:rpi64-buster_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.rpi.bookworm -t cgutman/moonlight-packaging:rpi-bookworm_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.rpi64.bookworm -t cgutman/moonlight-packaging:rpi64-bookworm_$TAG_UNIQUE_ID . & -docker build --pull -f Dockerfile.amd64.buster -t cgutman/moonlight-packaging:amd64-buster_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.l4t.bionic -t cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID . & +wait docker build --pull -f Dockerfile.aarch64.bullseye -t cgutman/moonlight-packaging:aarch64-bullseye_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.aarch64.bookworm -t cgutman/moonlight-packaging:aarch64-bookworm_$TAG_UNIQUE_ID . & docker build --pull -f Dockerfile.armhf.bullseye -t cgutman/moonlight-packaging:armhf-bullseye_$TAG_UNIQUE_ID . & @@ -19,7 +19,6 @@ docker push cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:rpi64-buster_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:rpi-bookworm_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:rpi64-bookworm_$TAG_UNIQUE_ID -docker push cgutman/moonlight-packaging:amd64-buster_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:l4t-bionic_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:armhf-bullseye_$TAG_UNIQUE_ID docker push cgutman/moonlight-packaging:armhf-bookworm_$TAG_UNIQUE_ID