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

Multiline variable correction

parent c558762e
No related branches found
No related tags found
1 merge request!2CI update to use squashfs
Pipeline #201426 failed
...@@ -70,14 +70,16 @@ variables: ...@@ -70,14 +70,16 @@ variables:
FAKEHOME: "/scratch/$(id -un)" FAKEHOME: "/scratch/$(id -un)"
COMMAND_OPTIONS_SBATCH: ${slurm_options} COMMAND_OPTIONS_SBATCH: ${slurm_options}
STACK_VERSION: $(jq -Mc .stack.version stacks/${stack}/config.json) STACK_VERSION: $(jq -Mc .stack.version stacks/${stack}/config.json)
APPTAINER_EXEC_OPTIONS: >- ${apptainer_options} --cleanenv APPTAINER_EXEC_OPTIONS: >-
-H $(mktemp -d -p ${FAKEHOME}/):/home/$(id -un) ${apptainer_options}
--bind ${CI_DATA}/buildcache:${MOUNT_POINT}/buildcache --cleanenv
--bind ${CI_DATA}/spack-mirror:${MOUNT_POINT}/spack-mirror -H $(mktemp -d -p ${FAKEHOME}/):/home/$(id -un)
--bind ${CI_DATA}/squashfs-cache/:/squashfs-cache \ --bind ${CI_DATA}/buildcache:${MOUNT_POINT}/buildcache
--bind ${CI_DATA}/overlayfs:/overlayfs \ --bind ${CI_DATA}/spack-mirror:${MOUNT_POINT}/spack-mirror
--fusermount "host:/usr/libexec/apptainer/bin/squashfuse_ll ${CI_DATA}/squashfs-cache/${stack}-${environment}-${SQUASHFS_ID}.sqfs /squashfs" --bind ${CI_DATA}/squashfs-cache/:/squashfs-cache \
--fusermount "container:fuse-overlayfs -o squash_to_uid=$(id -n) -o squash_to_gid=$(id -g) -o lowerdir=/squashfs -o upperdir=/overlayfs/upper -o workdir=/overlayfs/wd ${MOUNT_POINT}/${stack}/${environment}/${STACK_VERSION}" --bind ${CI_DATA}/overlayfs:/overlayfs \
--fusermount "host:/usr/libexec/apptainer/bin/squashfuse_ll ${CI_DATA}/squashfs-cache/${stack}-${environment}-${SQUASHFS_ID}.sqfs /squashfs"
--fusermount "container:fuse-overlayfs -o squash_to_uid=$(id -n) -o squash_to_gid=$(id -g) -o lowerdir=/squashfs -o upperdir=/overlayfs/upper -o workdir=/overlayfs/wd ${MOUNT_POINT}/${stack}/${environment}/${STACK_VERSION}"
.spack_cache: .spack_cache:
cache: cache:
......
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