From 54f97e9b20debf1705ac0493dafd8e6b304bec91 Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Tue, 18 May 2021 02:05:27 +0200
Subject: [PATCH] d/a/local-gitlab-ci.yml: Do not run on tags

Add some rules to the local pipeline so it gets skipped when tags are
pushed, instead of creating jobs that are currently failing.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 debian/apertis/local-gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/debian/apertis/local-gitlab-ci.yml b/debian/apertis/local-gitlab-ci.yml
index a402e00..9327fb2 100644
--- a/debian/apertis/local-gitlab-ci.yml
+++ b/debian/apertis/local-gitlab-ci.yml
@@ -10,3 +10,9 @@ test:
     - pipeline: $PARENT_PIPELINE_ID
       job: prepare-build-env
       artifacts: true
+  rules:
+    - if: $CI_MERGE_REQUEST_ID
+      when: never
+    - if: $CI_COMMIT_BRANCH
+      when: on_success
+    - when: never
-- 
GitLab