[arvados-dev] updated: 6bb96787fceb1a98c0f3bd0d15437f2ace107140
git repository hosting
git at public.arvados.org
Thu Jan 11 21:50:50 UTC 2024
Summary of changes:
jenkins/packer-images/jenkins-image-common.sh | 6 ++++++
jenkins/packer-images/jenkins-image-with-docker.sh | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
via 6bb96787fceb1a98c0f3bd0d15437f2ace107140 (commit)
from 9d0122d6d271a7bb9b7a30ebd93cf32ca5a9ea29 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 6bb96787fceb1a98c0f3bd0d15437f2ace107140
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date: Thu Jan 11 18:50:18 2024 -0300
Moves packer installation to the common script. No issue #
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>
diff --git a/jenkins/packer-images/jenkins-image-common.sh b/jenkins/packer-images/jenkins-image-common.sh
index e68b092..47ff56d 100755
--- a/jenkins/packer-images/jenkins-image-common.sh
+++ b/jenkins/packer-images/jenkins-image-common.sh
@@ -48,6 +48,12 @@ sudo chown jenkins:jenkins arvados.git -R
# Jenkins will use this script to determine when the node is ready for use
sudo mv /tmp/node-ready.sh /usr/local/bin/
+# Packer install
+cd /tmp
+wget https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_amd64.zip
+unzip packer_1.8.0_linux_amd64.zip packer
+sudo mv packer /usr/local/bin/
+
# make sure sshd does not start on boot (yes, this is nasty). Jenkins will call
# /tmp/node-ready.sh as a GCP `startup script`, which gets run on node start.
# That script loops until it can connect to git.arvados.org, and then starts
diff --git a/jenkins/packer-images/jenkins-image-with-docker.sh b/jenkins/packer-images/jenkins-image-with-docker.sh
index cd0e477..3f5bec7 100755
--- a/jenkins/packer-images/jenkins-image-with-docker.sh
+++ b/jenkins/packer-images/jenkins-image-with-docker.sh
@@ -10,12 +10,6 @@ set -eo pipefail
sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y docker.io make wget dpkg-dev createrepo-c unzip"
sudo usermod -a -G docker jenkins
-#Packer install
-cd /tmp
-wget https://releases.hashicorp.com/packer/1.8.0/packer_1.8.0_linux_amd64.zip
-unzip packer_1.8.0_linux_amd64.zip packer
-sudo mv packer /usr/local/bin/
-
# Install the arvados-dev repo where the Jenkins job expects it
cd /usr/local
sudo git clone --depth 1 https://github.com/arvados/arvados-dev
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list