mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Drop Go 1.21 FIPS workaround
This commit is contained in:
parent
8e516affde
commit
9bce751873
3 changed files with 22 additions and 9 deletions
|
|
@ -6,6 +6,8 @@
|
|||
- !reference [.build_dynamic_image, rules]
|
||||
- changes:
|
||||
- "scripts/lib/custom-docker-build"
|
||||
- "scripts/install-git"
|
||||
- "scripts/install-golang"
|
||||
- ".gitlab/ci/gitaly.images.yml"
|
||||
|
||||
gitaly:
|
||||
|
|
|
|||
|
|
@ -6,9 +6,25 @@
|
|||
rules:
|
||||
- !reference [.build_dynamic_image, rules]
|
||||
- changes:
|
||||
- "scripts/lib/custom-docker-build"
|
||||
- ".gitlab/ci/gitlab.images.yml"
|
||||
- "patches/ruby/**/*"
|
||||
- "scripts/install-bazelisk"
|
||||
- "scripts/install-chrome"
|
||||
- "scripts/install-docker"
|
||||
- "scripts/install-exiftool"
|
||||
- "scripts/install-git"
|
||||
- "scripts/install-gcloud"
|
||||
- "scripts/install-golang"
|
||||
- "scripts/install-graphicsmagick"
|
||||
- "scripts/install-helm"
|
||||
- "scripts/install-kubectl"
|
||||
- "scripts/install-lfs"
|
||||
- "scripts/install-node"
|
||||
- "scripts/install-pcre2"
|
||||
- "scripts/install-postgresql"
|
||||
- "scripts/install-ruby"
|
||||
- "scripts/install-rust"
|
||||
- "scripts/lib/custom-docker-build"
|
||||
- ".gitlab/ci/gitlab.images.yml"
|
||||
- "patches/ruby/**/*"
|
||||
|
||||
gitlab:
|
||||
extends:
|
||||
|
|
|
|||
|
|
@ -29,12 +29,7 @@ function build_ubi() {
|
|||
cd /usr/local/go/src
|
||||
PATH=$PATH:/tmp/golang/go/bin CGO_ENABLED=1 ./make.bash
|
||||
else
|
||||
# This is a workaround until https://github.com/golang-fips/go/pull/107 is released.
|
||||
if [[ $GO_MAJOR_VERSION == "1.21" ]]; then
|
||||
GO_BRANCH="go1.20-fips-release"
|
||||
else
|
||||
GO_BRANCH="go${GO_MAJOR_VERSION}-fips-release"
|
||||
fi
|
||||
GO_BRANCH="go${GO_MAJOR_VERSION}-fips-release"
|
||||
|
||||
git clone https://github.com/golang-fips/go.git --branch "${GO_BRANCH}" --single-branch --depth 1 /tmp/golang-fips
|
||||
cd /tmp/golang-fips
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue