From b591a3d7c549a86f3246f1ecea1499edb9064747 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Fri, 25 Nov 2022 23:28:47 -0500 Subject: [PATCH] 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 --- .gitlab-ci.yml | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75f5282..2d1cb20 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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