Skip to content
Snippets Groups Projects
Commit c05ba4ea authored by Nicolas Richart's avatar Nicolas Richart
Browse files

Missing directory for lower overlayfs

parent cd29e5f5
No related branches found
No related tags found
1 merge request!2CI update to use squashfs
Pipeline #201443 failed
......@@ -78,8 +78,8 @@ variables:
--bind ${CI_DATA}/spack-mirror:${MOUNT_POINT}/spack-mirror
--bind ${CI_DATA}/squashfs-cache/:/squashfs-cache \
--bind ${CI_DATA}/overlayfs:/overlayfs \
--fusemount "host:/usr/libexec/apptainer/bin/squashfuse_ll ${CI_DATA}/squashfs-cache/${stack}-${environment}-${SQUASHFS_ID}.sqfs /squashfs"
--fusemount "container:fuse-overlayfs -o squash_to_uid=$(id -u) -o squash_to_gid=$(id -g) -o lowerdir=/squashfs -o upperdir=/overlayfs/upper -o workdir=/overlayfs/wd ${MOUNT_POINT}/${stack}/${environment}/${STACK_VERSION}"
--fusemount "host:/usr/libexec/apptainer/bin/squashfuse_ll ${CI_DATA}/squashfs-cache/${stack}-${environment}-${SQUASHFS_ID}.sqfs /overlayfs/lower"
--fusemount "container:fuse-overlayfs -o squash_to_uid=$(id -u) -o squash_to_gid=$(id -g) -o lowerdir=/overlayfs/lower -o upperdir=/overlayfs/upper -o workdir=/overlayfs/wd ${MOUNT_POINT}/${stack}/${environment}/${STACK_VERSION}"
after_script:
- if [ $CI_JOB_STATUS != "success" ]; then exit 0; fi
- ./ci/update_squashfs.sh
......
......@@ -54,6 +54,7 @@ fi
if [ ! -d /overlayfs/upper ]
then
mkdir -p /overlayfs/lower
mkdir -p /overlayfs/upper
mkdir -p /overlayfs/wd
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment