Skip slow deploys

master
breel 2020-07-31 23:58:17 -06:00
parent fe546bd77c
commit 15e68cadcd
2 changed files with 4 additions and 4 deletions

View File

@ -8,15 +8,15 @@ function main() {
go test ./...
fi
GOOS=linux GOARCH=arm GOARM=5 gobuild $exec
for authed in dndex dndex-auth; do
for authed in dndex; do # dndex-auth; do
scp ./public/swagger/* zach@tickle.lan:./$authed/files/swagger/
scp $exec zach@tickle.lan:./$authed/dndex.new
ssh zach@tickle.lan bash -c "true; while [ -e ./$authed/dndex.new ]; do printf '.'; sleep 3; done; echo"
done &
wait
GOOS=linux gobuild $exec
scp $exec bel@remote.blapointe.com:/home/bel/services/bin/dndex.new
ssh bel@remote.blapointe.com bash -c 'true; md5sum ./services/bin/dndex*; while [ -e ./services/bin/dndex.new ]; do printf "."; sleep 3; done; md5sum ./services/bin/dndex*'
echo scp $exec bel@remote.blapointe.com:/home/bel/services/bin/dndex.new
echo ssh bel@remote.blapointe.com bash -c 'true; md5sum ./services/bin/dndex*; while [ -e ./services/bin/dndex.new ]; do printf "."; sleep 3; done; md5sum ./services/bin/dndex*'
rm $exec
if [ -n "$BIG" ]; then
big

@ -1 +1 @@
Subproject commit f230c7fc9a25ff3e94d0be7152a86b23fd9ddb03
Subproject commit 72595fae58fc45b991227d47adb87121619ff3be