From: Ward Vandewege Date: Fri, 20 May 2022 19:55:54 +0000 (-0400) Subject: Tweak fuse.conf after the fuse package is installed, not before. X-Git-Url: https://git.arvados.org/arvados-dev.git/commitdiff_plain/51f2fafe8b5b0067a7961d5d07d8a7217a5c26f9?ds=inline Tweak fuse.conf after the fuse package is installed, not before. refs #15370 Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/jenkins/packer-images/jenkins-image-arvados-tests.sh b/jenkins/packer-images/jenkins-image-arvados-tests.sh index b673ecf..7fc445d 100755 --- a/jenkins/packer-images/jenkins-image-arvados-tests.sh +++ b/jenkins/packer-images/jenkins-image-arvados-tests.sh @@ -13,10 +13,6 @@ sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev wget sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y docker.io make wget dpkg-dev createrepo unzip" sudo usermod -a -G docker jenkins -# FUSE must be configured with the 'user_allow_other' option enabled for Crunch to set up Keep mounts that are readable by containers. -# This is used in our test suite. -echo user_allow_other | sudo tee -a /etc/fuse.conf - # Check out a local copy of the arvados repo so we can use it to install the dependencies cd /usr/src sudo git clone arvados.git @@ -36,6 +32,10 @@ cd arvados sudo go mod download sudo go run ./cmd/arvados-server install -type test +# FUSE must be configured with the 'user_allow_other' option enabled for Crunch to set up Keep mounts that are readable by containers. +# This is used in our test suite. +echo user_allow_other | sudo tee -a /etc/fuse.conf + # Our Jenkins jobs use this directory to store the temporary files for the tests mkdir /home/jenkins/tmp