1
0
Fork 0
mirror of https://github.com/dragonflydb/dragonfly.git synced 2024-12-14 11:58:02 +00:00

fix(ci): docker not using iouring (#3169)

* fix(ci): docker not using iouring

* fix errors
This commit is contained in:
Kostas Kyrimis 2024-06-12 16:38:02 +03:00 committed by adi_holden
parent 367fde40d4
commit 20f4507c29
6 changed files with 7 additions and 2 deletions

View file

@ -37,6 +37,7 @@ jobs:
container: container:
image: ghcr.io/romange/benchmark-dev:latest image: ghcr.io/romange/benchmark-dev:latest
options: --security-opt seccomp=unconfined
permissions: permissions:
id-token: write id-token: write

View file

@ -11,6 +11,7 @@ jobs:
timeout-minutes: 60 timeout-minutes: 60
container: container:
image: ghcr.io/romange/alpine-dev:latest image: ghcr.io/romange/alpine-dev:latest
options: --security-opt seccomp=unconfined
credentials: credentials:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}

View file

@ -57,9 +57,10 @@ jobs:
container: container:
image: ghcr.io/romange/${{ matrix.container }} image: ghcr.io/romange/${{ matrix.container }}
# Seems that docker by default prohibits running iouring syscalls
options: --security-opt seccomp=unconfined --sysctl "net.ipv6.conf.all.disable_ipv6=0"
volumes: volumes:
- /:/hostroot - /:/hostroot
options: --sysctl "net.ipv6.conf.all.disable_ipv6=0"
credentials: credentials:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}

View file

@ -28,6 +28,7 @@ jobs:
container: container:
image: ghcr.io/romange/${{ matrix.container }} image: ghcr.io/romange/${{ matrix.container }}
options: --security-opt seccomp=unconfined
credentials: credentials:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}

View file

@ -22,6 +22,7 @@ jobs:
container: container:
image: ghcr.io/romange/${{ matrix.container }} image: ghcr.io/romange/${{ matrix.container }}
options: --security-opt seccomp=unconfined
credentials: credentials:
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GITHUB_TOKEN }}

View file

@ -99,7 +99,7 @@ jobs:
container: fedora:30 container: fedora:30
container: container:
image: ghcr.io/romange/${{ matrix.container }} image: ghcr.io/romange/${{ matrix.container }}
options: --sysctl "net.ipv6.conf.all.disable_ipv6=0" options: --security-opt seccomp=unconfined --sysctl "net.ipv6.conf.all.disable_ipv6=0"
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with: