Commit Graph

4 Commits

Author SHA1 Message Date
Pau Espin 20eea59978 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.
2018-01-19 17:09:33 +01:00
Pau Espin d6d0c3c644 upload-build.sh: Create upload directory before using rsync
Otherwise first time a machine+release combination is uploaded rsync
will fail:
sync --delete -avz tmp/deploy/ipk/ sysmocom-downloads:sysmocom-apu2/201705-nightly/ipk
sending incremental file list
rsync: mkdir "/home/generic/web-files/sysmocom-apu2/201705-nightly/ipk" failed: No such file or directory (2)
2018-01-18 15:13:53 +01:00
Holger Hans Peter Freyther a5ac1374cd upload: Not all builds have a tool directory, ignore failure
This is an intermediate band-aid for the 201705 branch and with some
more bash rules we can make this a function.
2017-08-06 23:27:51 +08:00
Holger Hans Peter Freyther e3f46e8a74 Initial Makefile, config, upload script and documentation
Create a Makefile that does the lifting of setting up the config
as it is done on the system. Handles the creation of the .ssh/config
for upload.

In the past upstream poned on such master Makefiles but as we
customize our build environment quite a bit it probably makes
sense and reduces the clone+set-up to two calls.
2017-08-03 16:08:14 +08:00