Skip to content

Use default branch instead of constant "master"

What does this MR do?

Despite the release tag, the behaviour of building released images can be decided by the branch. Some components, e.g. registry, can be released with a specific version through build jobs in master. However in our circumstance, it should be main-jh. This MR is to make it more flexible through the variable CI_DEFAULT_BRANCH .

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

Merge request reports