Skip to content

Replace workaround for interruptible jobs with rules

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this merge request do and why?

Removes extra stage and extra job that exist as a workaround to make branch jobs interruptible.

From 16.10 it is possible to get the same effect with rules. gitlab!144687 (merged)

How to validate

  1. Commit here
  2. Commit again while pipeline is running
  3. Ensure pipeline is cancelled

  1. Push a tag from another branch
  2. Commit again on the same ref

I am not sure if adding tag exception makes sense.

Impacted categories

The following categories relate to this merge request:

Merge request checklist

  • This change is backward compatible. If not, please include steps to communicate to our users.
  • Tests added for new functionality. If not, please raise an issue to follow-up.
  • Documentation added/updated, if needed.
  • Announcement added, if change is notable.
  • gdk doctor test added, if needed.
  • Add the ~highlight label if this MR should be included in the CHANGELOG.md.
Edited by 🤖 GitLab Bot 🤖

Merge request reports