github: change container storage driver inside test container
The default overlayfs doesn't work inside the container runner which causes the test to fail with Invalid destination name containers-storage:localhost/osbuild-skopeo-test-...: 'overlay' is not supported over overlayfs, a mount_program is required: backing file system is unsupported for this graph driver Changing the driver to vfs solves the issue.
This commit is contained in:
parent
e7400d2e59
commit
b42e1afddc
1 changed files with 6 additions and 0 deletions
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
|
|
@ -44,5 +44,11 @@ jobs:
|
|||
# Share the store between the workers speeds things up further
|
||||
export OSBUILD_TEST_STORE=/var/tmp/osbuild-test-store
|
||||
fi
|
||||
|
||||
# Hacky replacement of container storage driver:
|
||||
# The default overlayfs doesn't work in the runner, so let's change
|
||||
# it to vfs for the local storage skopeo stage test.
|
||||
sed -i 's/overlay/vfs/g' /usr/share/containers/storage.conf # default system config
|
||||
sed -i 's/overlay/vfs/g' /etc/containers/storage.conf || true # potential overrides
|
||||
TEST_CATEGORY="${{ matrix.test }}" \
|
||||
tox -e "${{ matrix.environment }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue