]> git.kaiwu.me - haproxy.git/commitdiff
CI: github: check that AWS-LC FIPS mode is active
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Dec 2026 14:58:33 +0000 (14:58 +0000)
committerWilliam Lallemand <wlallemand@haproxy.com>
Thu, 3 Dec 2026 15:00:05 +0000 (16:00 +0100)
The AWS-LC FIPS workflow previously ran against non-FIPS libraries
without detecting the mistake, leaving FIPS-specific paths untested.

Require haproxy -cc 'fips_mode()' to succeed before running the tests.
This also rejects non-FIPS libraries restored from an existing cache.

This check should be backported to 3.5 along with the build helper fix.

.github/workflows/aws-lc-fips.yml

index 8b31b04b7fadbc8b7f93787540f7d25cbcf9ec2b..89ae09e0ec525d4f804d826aae6dbaa6b30a080b 100644 (file)
@@ -77,6 +77,7 @@ jobs:
         run: |
           ldd $(which haproxy)
           haproxy -vv
+          haproxy -cc 'fips_mode()'
           echo "version=$(haproxy -vq)" >> $GITHUB_OUTPUT
       - uses: ./.github/actions/setup-vtest
       - name: Run VTest for HAProxy