Skip to content

Allow build tags to be preset as environment variables

Max O requested to merge unix_system1/gitlab-agent:cng-git-variables into master

What does this MR do?

The CNG builds of GitLab cannot be refactored to use the gitlab-fetch command because the bazel build process, through the print_workspace_status.sh script.

The solution, as proposed in #253 (closed), is to allow override environment variables that if set will make the status script skip the git commands.

Related issues

Closes #253 (closed)

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 Max O

Merge request reports