From 307ddcbaf8fe99cbae6f240d760db789fa668418 Mon Sep 17 00:00:00 2001 From: Janne Mareike Koschinski <janne@kuschku.de> Date: Wed, 15 Jun 2022 23:48:42 +0200 Subject: [PATCH] ci: reduce unnecessary builds --- flood/pipeline.yml | 5 +++++ rtorrent/pipeline.yml | 5 +++++ seafile/pipeline.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/flood/pipeline.yml b/flood/pipeline.yml index 09aa868..ddefb66 100644 --- a/flood/pipeline.yml +++ b/flood/pipeline.yml @@ -1,5 +1,8 @@ lint-flood: stage: lint + rules: + changes: + - flood/**/* script: - helm lint flood @@ -9,6 +12,8 @@ release-flood: - lint-flood rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + changes: + - flood/**/* script: - apk add --no-cache git - helm plugin install https://github.com/chartmuseum/helm-push.git diff --git a/rtorrent/pipeline.yml b/rtorrent/pipeline.yml index 76a019a..d9a2024 100644 --- a/rtorrent/pipeline.yml +++ b/rtorrent/pipeline.yml @@ -1,5 +1,8 @@ lint-rtorrent: stage: lint + rules: + - changes: + - rtorrent/**/* script: - helm lint rtorrent @@ -9,6 +12,8 @@ release-rtorrent: - lint-rtorrent rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + changes: + - rtorrent/**/* script: - apk add --no-cache git - helm plugin install https://github.com/chartmuseum/helm-push.git diff --git a/seafile/pipeline.yml b/seafile/pipeline.yml index 07273d8..eed7c61 100644 --- a/seafile/pipeline.yml +++ b/seafile/pipeline.yml @@ -1,5 +1,8 @@ lint-seafile: stage: lint + rules: + - changes: + - seafile/**/* script: - helm lint seafile @@ -9,6 +12,8 @@ release-seafile: - lint-seafile rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + changes: + - seafile/**/* script: - apk add --no-cache git - helm plugin install https://github.com/chartmuseum/helm-push.git -- GitLab