From a7d6a94942346dee38e35448a6caf9e859e9ff74 Mon Sep 17 00:00:00 2001 From: Justin Kilpatrick Date: Mon, 11 Mar 2024 00:01:41 -0400 Subject: [PATCH] Update build managed script to upload releases This shortens total release time pretty significantly, especially since we only need to build the architecture in order to have the package uploads, not specific devices. --- ...default-release-and-upload.sh => build-default-release.sh} | 0 scripts/build-managed-release.sh | 4 ++++ 2 files changed, 4 insertions(+) rename scripts/{build-default-release-and-upload.sh => build-default-release.sh} (100%) diff --git a/scripts/build-default-release-and-upload.sh b/scripts/build-default-release.sh similarity index 100% rename from scripts/build-default-release-and-upload.sh rename to scripts/build-default-release.sh diff --git a/scripts/build-managed-release.sh b/scripts/build-managed-release.sh index e6d50624..ce2f28f8 100644 --- a/scripts/build-managed-release.sh +++ b/scripts/build-managed-release.sh @@ -4,6 +4,8 @@ cd $(dirname $0)/.. export SERVER=updates export HTTP_DIR=/usr/share/nginx/html/ +rsync -ahz --delete build/bin/packages $SERVER:$HTTP_DIR/rc/ + # desktops / servers ansible-playbook -e @profiles/devices/x86_64.yml -e @profiles/management/hawk-managed.yml firmware-build.yml @@ -29,3 +31,5 @@ ansible-playbook -e @profiles/devices/netgear_ex6100v2.yml -e @profiles/manageme #broadcom ansible-playbook -e @profiles/devices/pi4-64.yml -e @profiles/management/hawk-managed.yml firmware-build.yml + +rsync -ahz --delete build/bin/packages $SERVER:$HTTP_DIR/rc/