Run container and package builds in parallel
This commit is contained in:
@@ -12,9 +12,10 @@ set -e
|
||||
./push-images.sh
|
||||
|
||||
# Build the packages
|
||||
./build-l4t.sh
|
||||
./build-rpi.sh
|
||||
./build-rpi64.sh
|
||||
./build-l4t.sh &
|
||||
./build-rpi.sh &
|
||||
./build-rpi64.sh &
|
||||
wait
|
||||
|
||||
# Push the moonlight-qt packages to Cloudsmith repos
|
||||
cloudsmith push deb moonlight-game-streaming/moonlight-l4t/ubuntu/bionic out_l4t-bionic/moonlight-qt_*.deb
|
||||
|
||||
@@ -2,10 +2,11 @@ set -e
|
||||
|
||||
TAG_UNIQUE_ID=`git ls-tree HEAD | sha256sum | cut -c-16`
|
||||
|
||||
docker build --pull -f Dockerfile.rpi.buster -t cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID .
|
||||
docker build --pull -f Dockerfile.rpi.buster64 -t cgutman/moonlight-packaging:rpi-buster64_$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 .
|
||||
docker build --pull -f Dockerfile.rpi.buster -t cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID . &
|
||||
docker build --pull -f Dockerfile.rpi.buster64 -t cgutman/moonlight-packaging:rpi-buster64_$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 push cgutman/moonlight-packaging:rpi-buster_$TAG_UNIQUE_ID
|
||||
docker push cgutman/moonlight-packaging:rpi-buster64_$TAG_UNIQUE_ID
|
||||
|
||||
Reference in New Issue
Block a user