Tweak fuse.conf after the fuse package is installed, not before.
[arvados-dev.git] / jenkins / packer-images / jenkins-image-arvados-tests.sh
index 5a353b5877b3b22f3c460f40309567b2b29d5499..7fc445d82a2fa6d284c5a44816174af437648863 100755 (executable)
@@ -9,7 +9,7 @@ set -eo pipefail
 # Install the dependencies for arvados-server
 sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y libpam0g-dev wget build-essential"
 
-# Install the dependencies for the package building/testing jobs
+# Install docker (used in our tests and also for package building/testing)
 sudo su -c "DEBIAN_FRONTEND=noninteractive apt-get install -y docker.io make wget dpkg-dev createrepo unzip"
 sudo usermod -a -G docker jenkins
 
@@ -32,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