diff options
author | Miguel Angel Ajo <majopela@redhat.com> | 2022-09-19 17:15:24 +0200 |
---|---|---|
committer | Miguel Angel Ajo <majopela@redhat.com> | 2022-09-28 12:26:31 +0200 |
commit | e234b630f85b97e48ecf45d5aaba9b1aa64e6b54 (patch) | |
tree | de3b60aba635cb6d30aebf09e2f00aa6f0c9e81a /.github/workflows/tests.yml | |
parent | c6c3c5ae9fbeaaa2207149ed348109400b88314e (diff) | |
download | ostree-e234b630f85b97e48ecf45d5aaba9b1aa64e6b54.tar.gz |
Support overlayfs whiteouts on checkout
Introduces an intermediate format for overlayfs storage, where
.wh-ostree. prefixed files will be converted into char 0:0
whiteout devices used by overlayfs to mark deletions across layers.
The CI scripts now uses a volume for the scratch directories
previously in /var/tmp otherwise we cannot create whiteout
devices into an overlayfs mounted filesystem.
Related-Issue: #2712
Diffstat (limited to '.github/workflows/tests.yml')
-rw-r--r-- | .github/workflows/tests.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ab3723ea..e3bc1726 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -172,8 +172,14 @@ jobs: # An empty string isn't valid, so a dummy --label option is always # added. options: --label ostree ${{ matrix.container-options }} + # make sure tests are performed on a non-overlayfs filesystem + volumes: + - tmp_dir:/test-tmp + env: + TEST_TMPDIR: /test-tmp steps: + - name: Pre-checkout setup run: ${{ matrix.pre-checkout-setup }} if: ${{ matrix.pre-checkout-setup }} @@ -187,7 +193,7 @@ jobs: run: ./ci/gh-install.sh ${{ matrix.extra-packages }} - name: Add non-root user - run: "useradd builder && chown -R -h builder: ." + run: "useradd builder && chown -R -h builder: . $TEST_TMPDIR" - name: Build and test run: runuser -u builder -- ./ci/gh-build.sh ${{ matrix.configure-options }} |