Run release-environments pipeline from the same branch

What does this MR do and why?

Run release-environments pipeline from the same branch

Previously, the release-environments pipeline is always triggered from master pipeline so that we don't need to backport pipeline changes to stable branches whenever a change is made. However, this strategy doesn't fit anymore:

  • The pipeline is quite stable now, so we don't make changes often.
  • The mismatch between the commit ref using for the upstream and downstream pipelines sometimes leads to unexpected behaviors (e.g. a QA image build in master may not work with the QA setup in the stable branches)

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading