Updates WB2 image building script for Jenkins. Refs #21461
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 14:28:32 +0000 (11:28 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Wed, 21 Feb 2024 14:28:32 +0000 (11:28 -0300)
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>

jenkins/packer-images/jenkins-image-workbench2.sh

index af4d70889cdd859d14017d6c98cf60a181b24422..1bc15ff7c9b90343f643c91f104b85dd73d7d9c3 100755 (executable)
@@ -6,10 +6,10 @@
 
 set -eo pipefail
 
-# Get the wb2 repository
+# Get the arvados repository
 cd /usr/src
-sudo git clone https://git.arvados.org/arvados-workbench2.git
-cd arvados-workbench2
+sudo git clone https://git.arvados.org/arvados.git
+cd arvados/services/workbench2
 
 if [[ "$GIT_HASH" != "" ]]; then
   echo "GIT_HASH is set to $GIT_HASH, checking out that revision..."
@@ -23,5 +23,5 @@ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
 # Build the workbench2-build docker image
 sudo make workbench2-build-image
 
-cd ..
-sudo rm -rf arvados-workbench2
+cd ../../../
+sudo rm -rf arvados