Skip to content
Snippets Groups Projects
Verified Commit b797e314 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
No related merge requests found
Pipeline #15925 passed with stages
in 23 minutes and 43 seconds
include:
- remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/helm_package.yml
# - remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/helm_package.yml
# TODO: Remove after this MR is merged:
# https://open.greenhost.net/stackspin/stackspin/-/merge_requests/1049
- remote: https://open.greenhost.net/stackspin/stackspin/-/raw/update-helm-package-ci-template/.gitlab/ci_templates/helm_package.yml
- remote: https://open.greenhost.net/stackspin/stackspin/-/raw/main/.gitlab/ci_templates/dummy_job.yml
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
......@@ -11,10 +14,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 +45,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 +75,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 +84,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