Commit
c4f160e2c2b8a76c18a8fa6ee161245f49b5f01e
by Oliver Smith
release-tarball-build-dist: move rsync into docker
Prepare to use ssh inside the docker container to check if tarballs already exist, see the next patch.
Remove the '' around UserKnownHostsFile as using SSH_COMMAND in the next patch without rsync fails otherwise with: command-line: line 0: Bad configuration option: 'userknownhostsfile
Commit
757396a61b6ac06098d3a28101e2e42366453dbe
by Oliver Smith
release-tarball-build-dist: check exists on server
Previously this job relied on always running on the same jenkins node, and having the previously built release tarballs in a workspace directory that does not get removed. It would only skip building a release tarball if the file already exists locally.
As part of OS#5793 this job needs to be moved away from that jenkins node. When trying to run the job on a different node, it will build all release tarballs again which takes unnecessarsily long and actually fails on libosmocore-0.9.4 due to a missing python2.
This probably happens because the job was refactored at some point and I didn't realize that the python2 dep is now missing as the previous tarballs existed.
In general it doesn't make much sense to build previous release tarballs again and to always keep the legacy environments around for that. Change the code to check if a tarball exists on the server, and skip building the tarball in that case.
Commit
193feff80f5895ee50e79e36467d5bde2931b63f
by Oliver Smith
release-tarball-build-dist: fix permission errors
Run all commands inside the docker containers as a user with the same UID as on the host system, not as root. This is a good idea in general and also fixes permission problems when jenkins tries to wipe the workspace.