diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d52869ed7088b09a1ee494002be380fe8dbf3b27..11f5f676d8a8a6b643d0b797eca18d916199a88f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,18 @@ generate: script: - mkdir -p out-templates - helm dependency update ./test-chart/ - - helm template toto ./test-chart/ > out-templates/template.yaml + - > + helm template + --values ./test-chart/values.yaml + --values ./test-chart/values-${VALUES_SUFFIX}.yaml + toto ./test-chart/ + > out-templates/template.yaml + parallel: + matrix: + - VALUES_SUFFIX: [ + "with-storage", + "blank" + ] artifacts: paths: - out-templates diff --git a/test-chart/values-blank.yaml b/test-chart/values-blank.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/test-chart/values-with-storage.yaml b/test-chart/values-with-storage.yaml new file mode 100644 index 0000000000000000000000000000000000000000..e6458808e0f38dc7a9e51595a00c1676fc82caae --- /dev/null +++ b/test-chart/values-with-storage.yaml @@ -0,0 +1,3 @@ +shiny-k8s-toolkit-helm: + storage: + enabled: true