From d2a56c433464ff723e526461f1b469d44206b658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Sun, 27 Oct 2024 20:48:46 +0100 Subject: [PATCH] refactor: turn staging into default environment --- .github/workflows/publish.yml | 2 +- .../environments/{staging.yaml.gotmpl => default.yaml.gotmpl} | 0 helmfile/helmfile.yaml.gotmpl | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename helmfile/environments/{staging.yaml.gotmpl => default.yaml.gotmpl} (100%) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f7a6f43..12c679b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -86,7 +86,7 @@ jobs: - run: echo "IMAGE_TAG=ocelot-${{ inputs.ocelot_version }}--branded-sha-$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV - uses: helmfile/helmfile-action@80fbb6408b98822310f94d8d1321a2cacf87f78f #v1.9.2 with: - helmfile-args: apply --environment staging + helmfile-args: apply helmfile-workdirectory: ./helmfile helm-plugins: > https://github.com/databus23/helm-diff, diff --git a/helmfile/environments/staging.yaml.gotmpl b/helmfile/environments/default.yaml.gotmpl similarity index 100% rename from helmfile/environments/staging.yaml.gotmpl rename to helmfile/environments/default.yaml.gotmpl diff --git a/helmfile/helmfile.yaml.gotmpl b/helmfile/helmfile.yaml.gotmpl index b1022f5..9f4764b 100644 --- a/helmfile/helmfile.yaml.gotmpl +++ b/helmfile/helmfile.yaml.gotmpl @@ -1,8 +1,8 @@ --- environments: - staging: + default: values: - - ./environments/staging.yaml.gotmpl + - ./environments/default.yaml.gotmpl --- repositories: - name: ocelot-social