[arvados-dev] updated: 6aa98a3217018b2f1b070bf9984b34ad30134e78

git repository hosting git at public.arvados.org
Wed Feb 21 20:27:37 UTC 2024


Summary of changes:
 jenkins/packer-images/jenkins-image-arvados-tests.sh | 5 +++++
 1 file changed, 5 insertions(+)

       via  6aa98a3217018b2f1b070bf9984b34ad30134e78 (commit)
      from  6960cfa8745ebf897d4bef2ad11d58899549eea8 (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 6aa98a3217018b2f1b070bf9984b34ad30134e78
Author: Lucas Di Pentima <lucas at di-pentima.com.ar>
Date:   Wed Feb 21 17:26:40 2024 -0300

    Allow requesting a specific arvados commit hash for image buildind. Refs #21461
    
    Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima at curii.com>

diff --git a/jenkins/packer-images/jenkins-image-arvados-tests.sh b/jenkins/packer-images/jenkins-image-arvados-tests.sh
index 5736ed1..1dd0f36 100755
--- a/jenkins/packer-images/jenkins-image-arvados-tests.sh
+++ b/jenkins/packer-images/jenkins-image-arvados-tests.sh
@@ -17,6 +17,11 @@ sudo usermod -a -G docker jenkins
 cd /usr/src
 sudo git clone arvados.git
 
+if [[ "$GIT_HASH" != "" ]]; then
+  echo "GIT_HASH is set to $GIT_HASH, checking out that revision..."
+  sudo git checkout $GIT_HASH
+fi
+
 # Install the correct version of Go
 GO_VERSION=`grep 'const goversion =' /usr/src/arvados/lib/install/deps.go |awk -F'"' '{print $2}'`
 cd /usr/src

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list