Skip to content
Snippets Groups Projects
Verified Commit d04d047a authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix: run pipeline when anything inside the templates folder changes

parent 30f19c98
No related branches found
No related tags found
1 merge request!169Fix persistentvolumeclaim "nextcloud-nextcloud-nextcloud" not found
Pipeline #15934 passed with stages
in 9 minutes
......@@ -11,10 +11,10 @@ include:
- kubectl config get-contexts
- kubectl config use-context stackspin/kubernetes-agent-setup:stackspin-k8s-agent
.chart-changes-rules:
.chart_changes_rules:
rules:
- changes:
- templates/**/*.yaml
- templates/**/*
- taiko-tests/**/*.js
- values-local.yaml.example
- values.yaml
......@@ -42,7 +42,7 @@ delete-helmrelease:
action: stop
extends:
- .use-kubernetes
- .chart-changes-rules
- .chart_changes_rules
# This job will fail if a helmrelease didn't exist (yet). For example in a
# first pipeline for an MR.
allow_failure: true
......@@ -72,7 +72,7 @@ install-helmrelease:
on_stop: delete-helmrelease
extends:
- .use-kubernetes
- .chart-changes-rules
- .chart_changes_rules
test-helm-chart:
stage: test-helm-chart
......@@ -81,4 +81,4 @@ test-helm-chart:
- helm test --logs "$RELEASE_NAME"
extends:
- .use-kubernetes
- .chart-changes-rules
- .chart_changes_rules
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