From 59e08c00d0e2c3064090b40901740722b0cce9c3 Mon Sep 17 00:00:00 2001
From: Nicolas Richart <nicolas.richart@epfl.ch>
Date: Mon, 9 Sep 2024 19:31:33 +0200
Subject: [PATCH] Binding external in the image

---
 .gitlab-ci.yml        | 1 +
 ci/update_squashfs.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 556404f..9589871 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -94,6 +94,7 @@ variables:
          -H ${FAKEHOME}:/home/$(id -un)
          --bind ${CI_DATA_LT}/buildcache:${MOUNT_POINT}/buildcache
          --bind ${CI_DATA_LT}/spack-mirror:${MOUNT_POINT}/spack-mirror
+         --bind /ssoft/spack/external:${MOUNT_POINT}/external
          --bind ${CI_DATA_LT}/squashfs-cache/:/squashfs-cache
          --bind ${CI_DATA_ST}/overlayfs:/overlayfs
          --bind ${CI_DATA_ST}/deconcretize:/deconcretize
diff --git a/ci/update_squashfs.sh b/ci/update_squashfs.sh
index b9ae10f..d722287 100755
--- a/ci/update_squashfs.sh
+++ b/ci/update_squashfs.sh
@@ -22,6 +22,7 @@ jq -Mr '
   | .[]
 ' ${STACK_CONFIG} > excludes.list
 echo buildcache >> excludes.list
+echo external >> excludes.list
 
 cd /squashfs-cache
 
-- 
GitLab