From 402c42a72ae991a55f5b66ed1b3d762ff9ff13f0 Mon Sep 17 00:00:00 2001 From: Jonas Groeger <jonas.groeger@codecentric.de> Date: Tue, 10 May 2022 21:39:29 +0200 Subject: [PATCH] refactor: ci folder structure (planning#394) --- .gitlab-ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index aec7b3494..793e052af 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,12 +5,10 @@ - mkdir --mode 700 -p ~/.ssh - echo "$UBERSPACE_KNOWN_HOST" >> ~/.ssh/known_hosts -workflow: - rules: - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - - if: '$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS' - when: never - - if: '$CI_COMMIT_BRANCH' +include: + - project: 'fit-connect/pipeline' + ref: main + file: 'workflows/no-duplicate-pipelines.gitlab-ci.yml' stages: - build -- GitLab