Revert "upload-build.sh: Create upload directory before using rsync"
This reverts commit d6d0c3c644
.
Revert as it's not useful because the host doesn't accept ssh
connections. In this case, ssh will return exit code 0 but no work will
be done. It can be easily tested with "ssh sysmocom-downloads ls /"
which outputs nothing. Trying to acces a console through ssh errors
directly with a message.
daniel/oc2g
parent
d6d0c3c644
commit
20eea59978
|
@ -11,7 +11,6 @@ fi
|
|||
|
||||
set -ex
|
||||
|
||||
ssh sysmocom-downloads mkdir -p $1/$2
|
||||
rsync --delete -avz tmp/deploy/ipk/ sysmocom-downloads:$1/$2/ipk
|
||||
rsync --delete -avz tmp/deploy/images/ sysmocom-downloads:$1/$2/images
|
||||
rsync --delete -avz tmp/deploy/tools/ sysmocom-downloads:$1/$2/tools || true
|
||||
|
@ -20,3 +19,4 @@ rsync --delete -avz tmp/cache/ sysmocom-downloads:$1/$2/cache-state
|
|||
rsync --delete -avz cache/ sysmocom-downloads:$1/$2/cache
|
||||
rsync --delete -avz conf/ sysmocom-downloads:$1/$2/conf
|
||||
rsync -avz tmp/deploy/sources/ sysmocom-downloads:$1/$2/sources
|
||||
|
||||
|
|
Loading…
Reference in New Issue