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
|
- docker
|
||||||
- linux
|
- 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:
|
envars:
|
||||||
stage: test
|
stage: test
|
||||||
script: |
|
script: |
|
||||||
@@ -26,8 +14,6 @@ envars:
|
|||||||
|
|
||||||
commit_check:
|
commit_check:
|
||||||
stage: test
|
stage: test
|
||||||
rules:
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
variables:
|
variables:
|
||||||
BADRX: '^(squash!)|(fixup!)'
|
BADRX: '^(squash!)|(fixup!)'
|
||||||
script: |
|
script: |
|
||||||
@@ -41,10 +27,6 @@ commit_check:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
- if: $CI_COMMIT_BRANCH == "main"
|
|
||||||
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
|
||||||
variables:
|
variables:
|
||||||
BUILDAH_FORMAT: docker
|
BUILDAH_FORMAT: docker
|
||||||
BUILDAH_ISOLATION: chroot
|
BUILDAH_ISOLATION: chroot
|
||||||
|
|||||||
Reference in New Issue
Block a user