Skip to content

Add a separate setup-test-env-fips to compile for UBI

Stan Hu requested to merge sh-fix-workhorse-test-fips into master

What does this MR do and why?

Previously Debian bullseye was used to compile Gitaly and Workhorse for UBI images, which somehow worked even though bullseye ships with glibc 2.31, while UBI 8.6 ships with glibc 2.28.

Debian bookwork ships with glibc 2.36 and produces Go binaries that can't be run on UBI 8.6.

To fix this, we need a separate setup-test-env-fips step that builds Go binaries with the appropriate UBI image.

Relates #441444 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Stan Hu

Merge request reports