Skip to content
Snippets Groups Projects
Verified Commit 6fafc77d authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

ci: only run jobs if the corresponding files have changed

parent 68f87a15
No related branches found
No related tags found
No related merge requests found
Pipeline #2869 canceled
lint-actual:
stage: lint
rules:
- changes:
- actual/**/*
script:
- helm lint actual
......@@ -9,6 +12,8 @@ release-actual:
- lint-actual
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- actual/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-imghost:
stage: lint
rules:
- changes:
- imghost/**/*
script:
- helm lint imghost
......@@ -9,6 +12,8 @@ release-imghost:
- lint-imghost
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- imghost/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-jellyfin:
stage: lint
rules:
- changes:
- jellyfin/**/*
script:
- helm lint jellyfin
......@@ -9,6 +12,8 @@ release-jellyfin:
- lint-jellyfin
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- jellyfin/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-languagetool:
stage: lint
rules:
- changes:
- languagetool/**/*
script:
- helm lint languagetool
......@@ -9,6 +12,8 @@ release-languagetool:
- lint-languagetool
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- languagetool/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-mailu:
stage: lint
rules:
- changes:
- mailu/**/*
script:
- helm lint mailu
......@@ -9,6 +12,8 @@ release-mailu:
- lint-mailu
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- mailu/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-oauth2-proxy:
stage: lint
rules:
- changes:
- oauth2-proxy/**/*
script:
- helm lint oauth2-proxy
......@@ -9,6 +12,8 @@ release-oauth2-proxy:
- lint-oauth2-proxy
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- oauth2-proxy/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-quassel:
stage: lint
rules:
- changes:
- quassel/**/*
script:
- helm lint quassel
......@@ -9,6 +12,8 @@ release-quassel:
- lint-quassel
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- quassel/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-restic:
stage: lint
rules:
- changes:
- restic/**/*
script:
- helm lint restic
......@@ -9,6 +12,8 @@ release-restic:
- lint-restic
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- restic/**/*
script:
- apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment