Skip to content

Commit fa16001

Browse files
authored
Merge pull request #26 from boegel/unionfs
use `unionfs` overlay tool (+ debian12 build container that includes it) by default
2 parents aa362c4 + 229f1ad commit fa16001

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test_eessi_container_script.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Test eessi_container.sh script
4242
run: |
4343
test_cmd="cat /etc/os-release"
44-
out_pattern="Debian GNU/Linux 11"
44+
out_pattern="Debian GNU/Linux 12"
4545
4646
if [[ ${{matrix.SCRIPT_TEST}} == 'help' ]]; then
4747
./eessi_container.sh --help
@@ -116,7 +116,7 @@ jobs:
116116
rm -f ${outfile}
117117
118118
# make sure that container image exists
119-
test -f ${tmpdir}/ghcr.io_eessi_build_node_debian11.sif || (echo "Container image not found in ${tmpdir}" >&2 && ls ${tmpdir} && exit 1)
119+
test -f ${tmpdir}/ghcr.io_eessi_build_node_debian12.sif || (echo "Container image not found in ${tmpdir}" >&2 && ls ${tmpdir} && exit 1)
120120
121121
./eessi_container.sh --verbose --resume ${tmpdir} --mode shell <<< "${test_cmd}" > ${outfile}
122122
cat ${outfile}

eessi_container.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ display_help() {
7777
echo " To specify multiple bind paths, separate by comma."
7878
echo " Example: '/src:/dest:ro,/src2:/dest2:rw'"
7979
echo " -c | --container IMG - image file or URL defining the container to use"
80-
echo " [default: docker://ghcr.io/eessi/build-node:debian11]"
80+
echo " [default: docker://ghcr.io/eessi/build-node:debian12]"
8181
echo " -f | --fakeroot - run the container with --fakeroot [default: false]"
8282
echo " -g | --storage DIR - directory space on host machine (used for"
8383
echo " temporary data) [default: 1. TMPDIR, 2. /tmp]"
@@ -92,7 +92,7 @@ display_help() {
9292
echo " attach a GPU, MODE==all for both [default: false]"
9393
echo " -o | --overlay-tool ARG - tool to use to create (read-only or writable) overlay;"
9494
echo " selected tool *must* be available in container image being used;"
95-
echo " can be 'fuse-overlayfs' or 'unionfs' [default: fuse-overlayfs]"
95+
echo " can be 'fuse-overlayfs' or 'unionfs' [default: unionfs]"
9696
echo " -p | --pass-through ARG - argument to pass through to the launch of the"
9797
echo " container; can be given multiple times [default: not set]"
9898
echo " -r | --repository CFG - configuration file or identifier defining the"
@@ -125,14 +125,14 @@ display_help() {
125125

126126
# set defaults for command line arguments
127127
ACCESS="ro"
128-
CONTAINER="docker://ghcr.io/eessi/build-node:debian11"
128+
CONTAINER="docker://ghcr.io/eessi/build-node:debian12"
129129
#DRY_RUN=0
130130
FAKEROOT=0
131131
VERBOSE=0
132132
STORAGE=
133133
LIST_REPOS=0
134134
MODE="shell"
135-
OVERLAY_TOOL="fuse-overlayfs"
135+
OVERLAY_TOOL="unionfs"
136136
PASS_THROUGH=()
137137
SETUP_NVIDIA=0
138138
REPOSITORIES=()

0 commit comments

Comments
 (0)