Skip to content

Make sure that BUILDER_PIPELINE only runs for MRs and master branch

Hossein Pursultani requested to merge hp-fix-builder-auto-deploy into master

What does this MR do?

Adjusting CI configuration so that BUILDER_PIPELINE does not start on tags and auto-deploy branches.

The root cause of the problem is VERIFY_BUILDERS: ''. However, a more explicit condition is set for BUILDER_PIPELINE and the PIPELINE_TYPE is used for making decision to include/exclude jobs.

This is due to the way that changes behave https://docs.gitlab.com/ee/ci/yaml/#ruleschanges:

rules: changes always evaluates to true when there is no Git push event

Related issues

Auto-deploy tags do not build the images.

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 Hossein Pursultani

Merge request reports