|
|
@@ -5,12 +5,15 @@ apt-ubuntu1804: |
|
|
|
tar -zxvf *secret.tar.gz |
|
|
|
make prepare-packages-ubuntu1804 |
|
|
|
make update-packages-ubuntu1804 |
|
|
|
bash ../ubuntu2004.sh chown $$(id -u):$$(id -g) . -R # fix permissions |
|
|
|
|
|
|
|
|
|
|
|
apt-ubuntu2004: |
|
|
|
wget $$SECRET_URL 1>/dev/null 2>/dev/null |
|
|
|
tar -zxvf *secret.tar.gz |
|
|
|
make prepare-packages-ubuntu2004 |
|
|
|
make update-packages-ubuntu2004 |
|
|
|
bash ../ubuntu2004.sh chown $$(id -u):$$(id -g) . -R # fix permissions |
|
|
|
|
|
|
|
prepare-packages-ubuntu1804: |
|
|
|
mkdir -p packages |
|
|
@@ -66,6 +69,7 @@ update-packages-ubuntu1804: |
|
|
|
# echo produce artifact for debugging |
|
|
|
tar -czf repo.tar.gz repo |
|
|
|
# rsync to host |
|
|
|
echo if the rsync fails, then double check if the ssh key is accepted in authorized_hosts |
|
|
|
rsync --delete -raPv -e "$$SYNC_CMD_SSH" repo $$SYNC_CMD_DEST |
|
|
|
|
|
|
|
update-packages-ubuntu2004: |
|
|
@@ -75,7 +79,13 @@ update-packages-ubuntu2004: |
|
|
|
# echo produce artifact for debugging |
|
|
|
tar -czf repo.tar.gz repo |
|
|
|
# rsync to host |
|
|
|
echo if the rsync fails, then double check if the ssh key is accepted in authorized_hosts |
|
|
|
echo check https://ci.cppse.nl/go/admin/pipelines/apt-publisher-ubuntu2004/stages/publisher/job/make/environment_variables |
|
|
|
echo then probably you need to rm -rf /mnt2/NAS/kube/cppse.nl/cppse.nl/repo |
|
|
|
echo then probably you need to rm -rf /var/lib/go-agent/pipelines/apt-publisher-ubuntu2004 |
|
|
|
rsync --delete -raPv -e "$$SYNC_CMD_SSH" repo $$SYNC_CMD_DEST |
|
|
|
# NOTE: troubles with this shizzle? remove /mnt2/NAS/kube/cppse.nl/cppse.nl/repo |
|
|
|
# and also remove work dir in go-agent: rm -rf /var/lib/go-agent/pipelines/apt-publisher-ubuntu2004 |
|
|
|
|
|
|
|
shell-ubuntu1804: |
|
|
|
docker pull rayburgemeestre/apt-ubuntu:18.04 |