Skip to content

Commit

Permalink
github: Workaround glib/seccomp issue on Ubuntu impish
Browse files Browse the repository at this point in the history
add more info...

Fixes: ostreedev#2495
  • Loading branch information
dbnicholson committed Jan 13, 2022
1 parent 1af0150 commit 89a3510
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
#
# image: The Docker image to use.
#
# container-options: Additional Docker command line options.
#
# pre-checkout-setup: Commands to run before the git repo checkout.
# If git is not in the Docker image, it must be installed here.
# Otherwise, the checkout action uses the GitHub REST API, which
Expand Down Expand Up @@ -100,6 +102,14 @@ jobs:
- name: Ubuntu Latest Release
image: ubuntu:rolling
# FIXME: libseccomp2 in impish doesn't know about
# close_range, which causes some tests to hang because
# g_spawn_sync doesn't get the ENOSYS it's expecting. Remove
# this when libseccomp2 is updated.
#
# https://github.com/ostreedev/ostree/issues/2495
# https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1944436
container-options: --security-opt=seccomp=unconfined
pre-checkout-setup: |
apt-get update
apt-get install -y git
Expand All @@ -108,6 +118,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ${{ matrix.image }}
options: ${{ matrix.container-options }}

steps:
- name: Pre-checkout setup
Expand Down

0 comments on commit 89a3510

Please sign in to comment.