Skip to content

Add FIPS spec helper

Robert May requested to merge fips-mode-spec-helper into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Extracts this spec helper from !81917 (merged) (see that MR for examples of use) as it's generally useful for FIPS work and that MR is taking a while to finish.

This allows you to tag a spec group with :fips_mode and have it run with Gitlab::FIPS.enabled? returning true. It does this by manipulating the env var used for detection.

Related #325172 (closed)

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Robert May

Merge request reports

Loading