Skip to content

Commit

Permalink
github test: use ATOMFS_TEST_RUN_DIR
Browse files Browse the repository at this point in the history
this will avoid trying to write to /run/ in the test runners.

Signed-off-by: Michael McCracken <[email protected]>
  • Loading branch information
mikemccracken committed Oct 16, 2024
1 parent f96a02b commit 2fb645d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ jobs:
export PATH=~/bin:$PATH
skopeo copy docker://zothub.io/machine/bootkit/bootkit:v0.0.16.230901-squashfs oci:oci:bootkit-squashfs
lxc-usernsexec -s << EOF
export ATOMFS_TEST_RUN_DIR=~/test-run-dir/
mkdir $ATOMFS_TEST_RUN_DIR
atomfs mount --persist=upper oci:bootkit-squashfs dest
[ -d dest/bootkit ]
touch dest/zz
Expand Down

0 comments on commit 2fb645d

Please sign in to comment.