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: lint-actual:
stage: lint stage: lint
rules:
- changes:
- actual/**/*
script: script:
- helm lint actual - helm lint actual
...@@ -9,6 +12,8 @@ release-actual: ...@@ -9,6 +12,8 @@ release-actual:
- lint-actual - lint-actual
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- actual/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-imghost: lint-imghost:
stage: lint stage: lint
rules:
- changes:
- imghost/**/*
script: script:
- helm lint imghost - helm lint imghost
...@@ -9,6 +12,8 @@ release-imghost: ...@@ -9,6 +12,8 @@ release-imghost:
- lint-imghost - lint-imghost
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- imghost/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-jellyfin: lint-jellyfin:
stage: lint stage: lint
rules:
- changes:
- jellyfin/**/*
script: script:
- helm lint jellyfin - helm lint jellyfin
...@@ -9,6 +12,8 @@ release-jellyfin: ...@@ -9,6 +12,8 @@ release-jellyfin:
- lint-jellyfin - lint-jellyfin
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- jellyfin/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-languagetool: lint-languagetool:
stage: lint stage: lint
rules:
- changes:
- languagetool/**/*
script: script:
- helm lint languagetool - helm lint languagetool
...@@ -9,6 +12,8 @@ release-languagetool: ...@@ -9,6 +12,8 @@ release-languagetool:
- lint-languagetool - lint-languagetool
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- languagetool/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-mailu: lint-mailu:
stage: lint stage: lint
rules:
- changes:
- mailu/**/*
script: script:
- helm lint mailu - helm lint mailu
...@@ -9,6 +12,8 @@ release-mailu: ...@@ -9,6 +12,8 @@ release-mailu:
- lint-mailu - lint-mailu
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- mailu/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-oauth2-proxy: lint-oauth2-proxy:
stage: lint stage: lint
rules:
- changes:
- oauth2-proxy/**/*
script: script:
- helm lint oauth2-proxy - helm lint oauth2-proxy
...@@ -9,6 +12,8 @@ release-oauth2-proxy: ...@@ -9,6 +12,8 @@ release-oauth2-proxy:
- lint-oauth2-proxy - lint-oauth2-proxy
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- oauth2-proxy/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-quassel: lint-quassel:
stage: lint stage: lint
rules:
- changes:
- quassel/**/*
script: script:
- helm lint quassel - helm lint quassel
...@@ -9,6 +12,8 @@ release-quassel: ...@@ -9,6 +12,8 @@ release-quassel:
- lint-quassel - lint-quassel
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- quassel/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.git - helm plugin install https://github.com/chartmuseum/helm-push.git
......
lint-restic: lint-restic:
stage: lint stage: lint
rules:
- changes:
- restic/**/*
script: script:
- helm lint restic - helm lint restic
...@@ -9,6 +12,8 @@ release-restic: ...@@ -9,6 +12,8 @@ release-restic:
- lint-restic - lint-restic
rules: rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
changes:
- restic/**/*
script: script:
- apk add --no-cache git - apk add --no-cache git
- helm plugin install https://github.com/chartmuseum/helm-push.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.
Please register or to comment