Skip to content

Commit 1351105

Browse files
committed
add test for using '--overlay-tool unionfs' option for eessi_container.sh
1 parent 955d0e6 commit 1351105

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test_eessi_container_script.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- shell
2222
- container
2323
- resume
24+
- unionfs
2425
# FIXME disabled because '--access rw' is not working in CI environment
2526
#- readwrite
2627
#- save
@@ -135,6 +136,13 @@ jobs:
135136
136137
tar tfv test-save.tar | grep "overlay-upper/${fn}"
137138
139+
# test use of --overlay-tool unionfs
140+
elif [[ ${{matrix.SCRIPT_TEST}} == 'unionfs' ]]; then
141+
container="docker://ghcr.io/eessi/build-node:debian12"
142+
./eessi_container.sh --verbose --container ${container} --access rw --overlay-tool unionfs --mode run ls -ld /cvmfs*/software.eessi.io/* 2>&1 | tee ${outfile}
143+
grep "/cvmfs/software.eessi.io/versions" $outfile
144+
grep "/cvmfs_ro/software.eessi.io/versions" $outfile
145+
138146
else
139147
echo "Unknown test case: ${{matrix.SCRIPT_TEST}}" >&2
140148
exit 1

0 commit comments

Comments
 (0)