From a8ee24f70b6105fe4f762e7d3c3be9e4fb567d57 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Thu, 21 Aug 2025 13:50:19 +0200 Subject: [PATCH 1/5] fix: Bump stackable/actions to 0.9.1 to get past json schema validation failure --- template/.github/workflows/integration-test.yml | 4 ++-- template/.github/workflows/pr_pre-commit.yaml.j2 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/template/.github/workflows/integration-test.yml b/template/.github/workflows/integration-test.yml index e2a582b9..310f1a17 100644 --- a/template/.github/workflows/integration-test.yml +++ b/template/.github/workflows/integration-test.yml @@ -40,7 +40,7 @@ jobs: # TODO: Enable the scheduled runs which hard-code what profile to use - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + uses: stackabletech/actions/run-integration-test@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} test-mode-input: ${{ inputs.test-mode-input }} @@ -50,7 +50,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + uses: stackabletech/actions/send-slack-notification@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} failed-tests: ${{ steps.test.outputs.failed-tests }} diff --git a/template/.github/workflows/pr_pre-commit.yaml.j2 b/template/.github/workflows/pr_pre-commit.yaml.j2 index d3579418..d1db0abc 100644 --- a/template/.github/workflows/pr_pre-commit.yaml.j2 +++ b/template/.github/workflows/pr_pre-commit.yaml.j2 @@ -26,7 +26,7 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@736565e3b8f657bcddff2897abcf5ccb82ae3e6c # v0.9.0 + - uses: stackabletech/actions/run-pre-commit@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 with: python-version: ${{ env.PYTHON_VERSION }} rust: ${{ env.RUST_TOOLCHAIN_VERSION }} From 581b91b1ad4bdc0c0f42533e2b753e95979aa6c9 Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Thu, 21 Aug 2025 13:53:01 +0200 Subject: [PATCH 2/5] chore: Bump stackable/actions to 0.9.1 for consistency --- .github/workflows/pr_pre-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_pre-commit.yml b/.github/workflows/pr_pre-commit.yml index 22cdf777..ff458b12 100644 --- a/.github/workflows/pr_pre-commit.yml +++ b/.github/workflows/pr_pre-commit.yml @@ -18,7 +18,7 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@4483641a7e24057bd2ba51cb4c3f2f0010ad21b7 # v0.8.4 + - uses: stackabletech/actions/run-pre-commit@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 with: python-version: ${{ env.PYTHON_VERSION }} hadolint: ${{ env.HADOLINT_VERSION }} From c7e43881d22e398c25decf5e1067c5a7cbe17187 Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 22 Aug 2025 13:02:18 +0200 Subject: [PATCH 3/5] Bump stackable/actions to 0.9.2 --- .github/workflows/pr_pre-commit.yml | 2 +- template/.github/workflows/build.yaml | 18 ++++++++++++++++++ .../.github/workflows/integration-test.yml | 4 ++-- .../.github/workflows/pr_pre-commit.yaml.j2 | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 template/.github/workflows/build.yaml diff --git a/.github/workflows/pr_pre-commit.yml b/.github/workflows/pr_pre-commit.yml index ff458b12..aabf1474 100644 --- a/.github/workflows/pr_pre-commit.yml +++ b/.github/workflows/pr_pre-commit.yml @@ -18,7 +18,7 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 + - uses: stackabletech/actions/run-pre-commit@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 with: python-version: ${{ env.PYTHON_VERSION }} hadolint: ${{ env.HADOLINT_VERSION }} diff --git a/template/.github/workflows/build.yaml b/template/.github/workflows/build.yaml new file mode 100644 index 00000000..ee63edce --- /dev/null +++ b/template/.github/workflows/build.yaml @@ -0,0 +1,18 @@ +# ============= +# This file is automatically generated from the templates in stackabletech/operator-templating +# DON'T MANUALLY EDIT THIS FILE +# ============= +--- +name: Build Operator Image + +on: + pull_request + +jobs: + blah: + runs-on: ubuntu-latest + steps: + - name: blah + shell: bash + run: | + echo "hello" diff --git a/template/.github/workflows/integration-test.yml b/template/.github/workflows/integration-test.yml index 310f1a17..a5af10db 100644 --- a/template/.github/workflows/integration-test.yml +++ b/template/.github/workflows/integration-test.yml @@ -40,7 +40,7 @@ jobs: # TODO: Enable the scheduled runs which hard-code what profile to use - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 + uses: stackabletech/actions/run-integration-test@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} test-mode-input: ${{ inputs.test-mode-input }} @@ -50,7 +50,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 + uses: stackabletech/actions/send-slack-notification@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} failed-tests: ${{ steps.test.outputs.failed-tests }} diff --git a/template/.github/workflows/pr_pre-commit.yaml.j2 b/template/.github/workflows/pr_pre-commit.yaml.j2 index d1db0abc..0db07753 100644 --- a/template/.github/workflows/pr_pre-commit.yaml.j2 +++ b/template/.github/workflows/pr_pre-commit.yaml.j2 @@ -26,7 +26,7 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@720110f799cebcd0a3ef85dbc85452a0e996a749 # v0.9.1 + - uses: stackabletech/actions/run-pre-commit@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 with: python-version: ${{ env.PYTHON_VERSION }} rust: ${{ env.RUST_TOOLCHAIN_VERSION }} From 11670efe7d65dbed9407b8178a989d011245df74 Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 22 Aug 2025 14:21:02 +0200 Subject: [PATCH 4/5] chore: Bump stackable/actions to 0.9.3 --- .github/workflows/pr_pre-commit.yml | 2 +- template/.github/workflows/integration-test.yml | 4 ++-- template/.github/workflows/pr_pre-commit.yaml.j2 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_pre-commit.yml b/.github/workflows/pr_pre-commit.yml index aabf1474..443af71d 100644 --- a/.github/workflows/pr_pre-commit.yml +++ b/.github/workflows/pr_pre-commit.yml @@ -18,7 +18,7 @@ jobs: with: persist-credentials: false fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 + - uses: stackabletech/actions/run-pre-commit@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: python-version: ${{ env.PYTHON_VERSION }} hadolint: ${{ env.HADOLINT_VERSION }} diff --git a/template/.github/workflows/integration-test.yml b/template/.github/workflows/integration-test.yml index a5af10db..c3aa54ff 100644 --- a/template/.github/workflows/integration-test.yml +++ b/template/.github/workflows/integration-test.yml @@ -40,7 +40,7 @@ jobs: # TODO: Enable the scheduled runs which hard-code what profile to use - name: Run Integration Test id: test - uses: stackabletech/actions/run-integration-test@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 + uses: stackabletech/actions/run-integration-test@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: replicated-api-token: ${{ secrets.REPLICATED_API_TOKEN }} test-mode-input: ${{ inputs.test-mode-input }} @@ -50,7 +50,7 @@ jobs: - name: Send Notification if: ${{ failure() || github.run_attempt > 1 }} - uses: stackabletech/actions/send-slack-notification@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 + uses: stackabletech/actions/send-slack-notification@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: slack-token: ${{ secrets.SLACK_INTEGRATION_TEST_TOKEN }} failed-tests: ${{ steps.test.outputs.failed-tests }} diff --git a/template/.github/workflows/pr_pre-commit.yaml.j2 b/template/.github/workflows/pr_pre-commit.yaml.j2 index 0db07753..9ba8f9f3 100644 --- a/template/.github/workflows/pr_pre-commit.yaml.j2 +++ b/template/.github/workflows/pr_pre-commit.yaml.j2 @@ -26,7 +26,7 @@ jobs: persist-credentials: false submodules: recursive fetch-depth: 0 - - uses: stackabletech/actions/run-pre-commit@a8610171965bf14e2823a2b213f70ed80ea2425b # v0.9.2 + - uses: stackabletech/actions/run-pre-commit@bdac99602eb834b85fdddf207d68e51d0e8b9380 # v0.9.3 with: python-version: ${{ env.PYTHON_VERSION }} rust: ${{ env.RUST_TOOLCHAIN_VERSION }} From c421fd029da4c534998e21200578195f160c9aca Mon Sep 17 00:00:00 2001 From: Techassi Date: Fri, 22 Aug 2025 15:51:03 +0200 Subject: [PATCH 5/5] chore: Remove accidentally commited file --- template/.github/workflows/build.yaml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 template/.github/workflows/build.yaml diff --git a/template/.github/workflows/build.yaml b/template/.github/workflows/build.yaml deleted file mode 100644 index ee63edce..00000000 --- a/template/.github/workflows/build.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# ============= -# This file is automatically generated from the templates in stackabletech/operator-templating -# DON'T MANUALLY EDIT THIS FILE -# ============= ---- -name: Build Operator Image - -on: - pull_request - -jobs: - blah: - runs-on: ubuntu-latest - steps: - - name: blah - shell: bash - run: | - echo "hello"