Skip to content

Commit

Permalink
chore: Update gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasSchreiner committed Jul 11, 2024
1 parent 2208130 commit 933f22c
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,10 @@ build-service:
.dev-workflow:
job-rules:
publish-service:
# hotfix branch should be manual
- if: $PIPELINE_TRIGGER == "branch" &&
$PIPELINE_CONTEXT == "release" &&
$CI_COMMIT_BRANCH =~ /^release\/\d+\.\d+\.[^0]\d*$/
when: manual
# release branch should be automatic
- if: $PIPELINE_TRIGGER == "branch" &&
$PIPELINE_CONTEXT =~ /^(release|snapshot)$/
when: always
# other branch should be optional manual
- if: ($PIPELINE_TRIGGER == "mr" || $PIPELINE_TRIGGER == "branch" &&
$PIPELINE_CONTEXT != "renovate") ||
$PIPELINE_CONTEXT == "default"
when: manual
- when: manual
allow_failure: true

0 comments on commit 933f22c

Please sign in to comment.