From cdc09ef3ec736b4f19857346775392ed27b05283 Mon Sep 17 00:00:00 2001 From: Kevin Leturc Date: Wed, 4 Sep 2024 10:04:35 +0200 Subject: [PATCH] NXBT-3821: Prepare Helmfile upgrade --- ci/Jenkinsfiles/build.groovy | 2 +- ci/Jenkinsfiles/release.groovy | 2 +- .../{helmfile.yaml => helmfile.yaml.gotmpl} | 22 +++++++++---------- 3 files changed, 13 insertions(+), 13 deletions(-) rename ci/helm/{helmfile.yaml => helmfile.yaml.gotmpl} (88%) diff --git a/ci/Jenkinsfiles/build.groovy b/ci/Jenkinsfiles/build.groovy index b16b4e74..73497d06 100644 --- a/ci/Jenkinsfiles/build.groovy +++ b/ci/Jenkinsfiles/build.groovy @@ -16,7 +16,7 @@ * Contributors: * Kevin Leturc */ -library identifier: "platform-ci-shared-library@v0.0.25" +library identifier: "platform-ci-shared-library@v0.0.39" Closure buildUnitTestStage(env) { return { diff --git a/ci/Jenkinsfiles/release.groovy b/ci/Jenkinsfiles/release.groovy index 07dfe95c..e2da3672 100644 --- a/ci/Jenkinsfiles/release.groovy +++ b/ci/Jenkinsfiles/release.groovy @@ -19,7 +19,7 @@ import java.time.LocalDate import java.time.format.DateTimeFormatter -library identifier: "platform-ci-shared-library@v0.0.25" +library identifier: "platform-ci-shared-library@v0.0.39" pipeline { agent { diff --git a/ci/helm/helmfile.yaml b/ci/helm/helmfile.yaml.gotmpl similarity index 88% rename from ci/helm/helmfile.yaml rename to ci/helm/helmfile.yaml.gotmpl index 9d0d85b8..00023f00 100644 --- a/ci/helm/helmfile.yaml +++ b/ci/helm/helmfile.yaml.gotmpl @@ -1,3 +1,14 @@ +environments: + mongodbUnitTests: + values: + - environments/unit-tests-mongodb.yaml + postgresqlUnitTests: + values: + - environments/unit-tests-postgresql.yaml + functionalTests: + values: + - environments/functional-tests.yaml +--- repositories: - name: bitnami # use a former version of index.yaml from the git repository as Bitnami all removed charts older than 6 months from @@ -33,14 +44,3 @@ releases: condition: postgresql.enabled values: - values/values-postgresql.yaml.gotmpl - -environments: - mongodbUnitTests: - values: - - environments/unit-tests-mongodb.yaml - postgresqlUnitTests: - values: - - environments/unit-tests-postgresql.yaml - functionalTests: - values: - - environments/functional-tests.yaml