Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
Separating the upload task helps with you have secondary authentication
required for ssh
  • Loading branch information
jkilpatr committed May 21, 2024
1 parent 533ee92 commit 88e7659
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/build-managed-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ set -eux
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
Expand Down Expand Up @@ -31,5 +30,3 @@ ansible-playbook -e @profiles/devices/linksys-whw03v2.yml -e @profiles/managemen

#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/
7 changes: 7 additions & 0 deletions scripts/upload-rc.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -eux
cd $(dirname $0)/..
export SERVER=updates
export HTTP_DIR=/usr/share/nginx/html/

rsync -ahz --delete build/bin/packages $SERVER:$HTTP_DIR/rc/

0 comments on commit 88e7659

Please sign in to comment.