From 2e668a65ecb34ec91e821c24a92b4379a8a849a6 Mon Sep 17 00:00:00 2001 From: Jon Azpiazu <jon.azpiazu@tecnalia.com> Date: Tue, 11 May 2021 11:07:48 +0200 Subject: [PATCH] Add workflow to avoid launching pipeline for MRs --- .gitlab-industrial-ci-kinetic-no-rosinstall.yml | 5 +++++ .gitlab-industrial-ci-kinetic-with-rosinstall.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml index b5ba7d5..14ba3a9 100644 --- a/.gitlab-industrial-ci-kinetic-no-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-no-rosinstall.yml @@ -12,6 +12,11 @@ stages: - build - postcheck +workflow: + rules: + - if: $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH + before_script: - apk add --update bash coreutils tar wget - docker login tecnalia-docker-dev.artifact.tecnalia.com -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} diff --git a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml index 7e44d49..490770c 100644 --- a/.gitlab-industrial-ci-kinetic-with-rosinstall.yml +++ b/.gitlab-industrial-ci-kinetic-with-rosinstall.yml @@ -12,6 +12,11 @@ stages: - build - postcheck +workflow: + rules: + - if: $CI_COMMIT_TAG + - if: $CI_COMMIT_BRANCH + before_script: - apk add --update bash coreutils tar wget - docker login tecnalia-docker-dev.artifact.tecnalia.com -u ${ARTIFACT_CI_USER} -p ${ARTIFACT_CI_TOKEN} -- GitLab