Actions
Bug #22557
openReview if Git checkouts on Jenkins images still work in 2025
Status:
New
Priority:
Normal
Assigned To:
-
Category:
CI
Target version:
-
Story points:
-
Description
In arvados-dev as of 4951623dc2a418270b5822ad5da0547a39356ea4, jenkins/packer-images/jenkins-image-common.sh
says:
# create a reference repository (bare git repo)
# jenkins will use this to speed up the checkout for each job
cd /usr/src
sudo git clone --mirror git://git.arvados.org/arvados.git
sudo chown jenkins:jenkins arvados.git -R
It is not clear whether or how this works. If you review the console output for Jenkins tests, they do a fresh clone under the /tmp
workspace. It would maybe save time if they cloned from /usr/src/arvados.git
, but there's no indication they do that.
Similar logic applies to the checkout at /usr/local/arvados-dev
.
If the Jenkins jobs don't actually use this, then it probably shouldn't be in the image either. The Packer image build jobs tend to assume that arvados-dev
is checked out under /usr/local
. Consider reconfiguring these jobs to work the normal way in preparation for removing the checkouts.
No data to display
Actions