Remove broken workflow rules
They were preventing builds on main and on tags. Rather than try and debug them, just kill them as they're mostly unnecessary for this repo. Signed-off-by: Chris Evich <chris_gitlab@icuc.me>
This commit is contained in:
@@ -6,18 +6,6 @@ default:
|
||||
- docker
|
||||
- linux
|
||||
|
||||
# Since jobs are using 'rules' it's possible for duplicate pipelines to run
|
||||
# (one for push to mr-branch, another for mr. Avoid this:
|
||||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS && $CI_PIPELINE_SOURCE == "push"
|
||||
when: never
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
||||
when: never
|
||||
- if: $CI_COMMIT_TAG == $CI
|
||||
|
||||
envars:
|
||||
stage: test
|
||||
script: |
|
||||
@@ -26,8 +14,6 @@ envars:
|
||||
|
||||
commit_check:
|
||||
stage: test
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
variables:
|
||||
BADRX: '^(squash!)|(fixup!)'
|
||||
script: |
|
||||
@@ -41,10 +27,6 @@ commit_check:
|
||||
|
||||
build:
|
||||
stage: deploy
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == "main"
|
||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||
variables:
|
||||
BUILDAH_FORMAT: docker
|
||||
BUILDAH_ISOLATION: chroot
|
||||
|
||||
Reference in New Issue
Block a user