]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: github: fix sysctl in fedora-rawhide
authorWilliam Lallemand <wlallemand@haproxy.com>
Mon, 20 Apr 2026 11:57:40 +0000 (13:57 +0200)
committerWilliam Lallemand <wlallemand@haproxy.com>
Mon, 20 Apr 2026 12:17:33 +0000 (14:17 +0200)
In Fedora containers, procps-ng seems to be lacking, install it
manually. Also set the --privileged option to be able to set the sysctl
for coredumps.

.github/workflows/fedora-rawhide.yml

index 62cfad4c1451853c341b0eed9863730e5847503c..3e6f7b47ec57e799b30bc8e8d43db7a59a401da2 100644 (file)
@@ -24,11 +24,12 @@ jobs:
     if: ${{ github.repository_owner == 'haproxy' || github.event_name == 'workflow_dispatch' }}
     container:
       image: fedora:rawhide
+      options: --privileged
     steps:
     - uses: actions/checkout@v6
     - name: Install dependencies
       run: |
-        dnf -y install awk diffutils git zlib-devel pcre2-devel 'perl(FindBin)' perl-IPC-Cmd 'perl(File::Copy)' 'perl(File::Compare)' lua-devel socat findutils systemd-devel clang openssl-devel.x86_64
+        dnf -y install awk diffutils git zlib-devel pcre2-devel 'perl(FindBin)' perl-IPC-Cmd 'perl(File::Copy)' 'perl(File::Compare)' lua-devel socat findutils systemd-devel clang openssl-devel.x86_64 procps-ng
         dnf -y install 'perl(FindBin)' 'perl(File::Compare)' perl-IPC-Cmd 'perl(File::Copy)' glibc-devel.i686 lua-devel.i686 lua-devel.x86_64 systemd-devel.i686 zlib-ng-compat-devel.i686 libatomic.i686 openssl-devel.i686
     - uses: ./.github/actions/setup-vtest
     - name: Compile HAProxy with ${{ matrix.platform.cc }}