Skip to content

Fix gitlab-go build no longer working in FIPS mode

Stan Hu requested to merge sh-avoid-shallow-clone-go-fips into master

What does this MR do?

Since the go1.17-openssl-fips branch received new commits, the git checkout <SHA> failed because a shallow clone no longer contains the pinned commit.

Once we upgrade to Go 1.18, we can use one of the release tags and go back to a shallow clone.

Related issues

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion

Required

  • Merge Request Title, and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Integration tests added to GitLab QA
  • The impact any change in container size has should be evaluated
Edited by Stan Hu

Merge request reports