From 24806ce1175b5d74b318e3154b78c40c6a79905e Mon Sep 17 00:00:00 2001 From: Sam Zheng Date: Fri, 26 Dec 2025 18:50:31 +1300 Subject: [PATCH] feat: add helmfile diff workflow --- .github/workflows/deploy.yaml | 2 +- .github/workflows/helmfile-diff.yaml | 13 +++++++++++++ dagger.json | 6 +++--- helmfile.yaml.gotmpl | 2 ++ 4 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/helmfile-diff.yaml diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 73405bc..1901105 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,7 @@ on: jobs: deploy: - uses: mocbotau/infra-workflows/.github/workflows/generic-deploy.yaml@v0.1.1 + uses: mocbotau/infra-workflows/.github/workflows/generic-deploy.yaml@v0.3.0 with: event-name: ${{ github.event_name }} environment: ${{ github.event.inputs.env }} diff --git a/.github/workflows/helmfile-diff.yaml b/.github/workflows/helmfile-diff.yaml new file mode 100644 index 0000000..c5f7a76 --- /dev/null +++ b/.github/workflows/helmfile-diff.yaml @@ -0,0 +1,13 @@ +name: Helmfile Diff + +on: + pull_request: + +jobs: + helmfile-diff: + uses: mocbotau/infra-workflows/.github/workflows/generic-helmfile-diff.yaml@v0.3.0 + secrets: inherit + +permissions: + contents: read + pull-requests: write diff --git a/dagger.json b/dagger.json index d86a72f..379553d 100644 --- a/dagger.json +++ b/dagger.json @@ -1,9 +1,9 @@ { - "name": "scuffbot", + "name": "ScuffBot", "engineVersion": "v0.19.8", "blueprint": { "name": "generic-deploy", - "source": "github.com/mocbotau/infra-dagger-modules/blueprints/generic-deploy@v0.1.1", - "pin": "8416af27bcd341f677433f2f23f39f560b9d7903" + "source": "github.com/mocbotau/infra-dagger-modules/blueprints/generic-deploy@v0.2.0", + "pin": "17d58b481e79dd734fdbd762ad77a35a2a5bbe4f" } } diff --git a/helmfile.yaml.gotmpl b/helmfile.yaml.gotmpl index 8f2b148..c85e571 100644 --- a/helmfile.yaml.gotmpl +++ b/helmfile.yaml.gotmpl @@ -17,6 +17,8 @@ helmDefaults: atomic: true cleanupOnFail: true createNamespace: true + suppressOutputLineRegex: + - "version" timeout: 60 wait: true waitForJobs: true