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

Simplifing the deployement

parent 242e16b9
No related branches found
No related tags found
No related merge requests found
Pipeline #206343 failed
......@@ -197,7 +197,7 @@ spack:deploy:
squashfs_image: $(ls -t1 ${CI_DATA_LT}/squashfs-cache/${image_name}*.sqfs 2> /dev/null | head -1)
APPTAINER_EXEC_OPTIONS: >-
--bind ${MOUNT_POINT}
--fusemount "host:${CI_PROJECT_DIR}/ci/squashfuse_ll.sh ${CI_DATA_ST} ${image_name}-${CI_JOB_STAGE} ${squashfs_image} ${stack} /squashfs"
--fusemount "host:/usr/libexec/apptainer/bin/squashfuse_ll ${squashfs_image} /squashfs"
script:
- ls /squashfs
- ls ${MOUNT_POINT}
......
......@@ -14,16 +14,15 @@ then
echo "Got 1 argument"
fi
excludes=$(jq -Mrc '
jq -Mr '
.spack.mirrors
| to_entries
| map(select(.value.type="relative"))
| map("\(.value.url)")
| .[]
' ${STACK_CONFIG})
echo $excludes > excludes.list
' ${STACK_CONFIG} > excludes.list
echo buildcache >> excludes.list
cd /squashfs-cache
mksquashfs ${MOUNT_POINT} ${stack}-${environment}-${SQUASHFS_ID}-${sqfs_suffix}.sqfs -ef ${CI_PROJECT_DIR}/excludes.list
......
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