Skip to content
Snippets Groups Projects

Allow CI jobs using the base image to fail on a base build

Merged Erwan Rouchet requested to merge prevent-blocked-base-build into master

This adds a new rule for all CI jobs that require the base image: on Git tags starting with base-, they are allowed to fail. This allows the unit tests to fail, for example, and prevents them from blocking the backend-build-base job which comes at a later stage.

This rule can cause duplicate pipelines in merge requests (one for the commit, one for the merge request itself); GitLab shows a “Job may allow multiple pipelines to run for a single action” warning and recommends using a built-in template to block merge request pipelines entirely (docs).

Merge request reports

Checking pipeline status.

Approval is optional

Merged by Bastien AbadieBastien Abadie 4 years ago (Sep 10, 2020 8:35am UTC)

Merge details

  • Changes merged into with bd632aa5.
  • Deleted the source branch.
  • Auto-merge enabled

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading