diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2022-07-06 20:07:27 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-08-01 09:57:06 +0300 |
commit | 7236cb353846d96ffec3c53aed569372972016db (patch) | |
tree | 216196b3aa3aa97fda14ef1d96d0e40114fdaa8d | |
parent | 31ea786fbf0a7874b44efcb1f8b43bc4536d9b7e (diff) |
Use custom docker image for FIPS tests
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fd28fb2a0..30485d951 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ variables: SAST_DISABLE_DIND: "true" SAST_DEFAULT_ANALYZERS: "gosec" DEBIAN_VERSION: "bullseye" + UBI_VERSION: "8.6" # We use Gitaly's Git version by default. GIT_VERSION: "default" GO_VERSION: "1.18" @@ -268,12 +269,9 @@ test:fips: <<: *test_definition tags: - fips - image: registry.access.redhat.com/ubi8/ubi:8.5 + image: registry.gitlab.com/gitlab-org/gitlab-build-images/ubi-${UBI_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36 before_script: - test "$(cat /proc/sys/crypto/fips_enabled)" = "1" || (echo "System is not running in FIPS mode" && exit 1) - - dnf module enable -y ruby:2.7 - - dnf install -y bzip2 cmake gcc-c++ git go-toolset libcurl-devel libicu-devel make openssl procps-ng redhat-rpm-config ruby-devel rubygems - - gem install bundler:2.3.15 - *test_before_script parallel: matrix: |