From 76acd856b61e111f4c9508cd6a1258e106520570 Mon Sep 17 00:00:00 2001 From: Leo J <153937047+leiicamundi@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:56:10 +0200 Subject: [PATCH 1/4] create on-purpose-error --- .github/workflows/build-images.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 3ed6011a..845913b0 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -28,6 +28,14 @@ jobs: echo "A previous workflow failed but has attempted to retry: ${{ inputs.notify_back_error_message }}" exit 1 + on-purpose-error: + runs-on: ubuntu-24.04 + steps: + - name: Create an error + run: | + echo "lost communication with the server" + exit 1 + list-keycloak-versions: runs-on: ubuntu-24.04 needs: @@ -571,12 +579,12 @@ jobs: # Rerun failed jobs running on self-hosted runners in case of network issues or node preemption rerun-failed-jobs: needs: - - test-postgres-integ + - on-purpose-error if: failure() && fromJSON(github.run_attempt) < 3 && inputs.notify_back_error_message == '' runs-on: ubuntu-latest steps: - name: Retrigger job - uses: camunda/infra-global-github-actions/rerun-failed-run@279d811fedce4dedc973f74f7e520513fc01ca29 # main + uses: camunda/infra-global-github-actions/rerun-failed-run@feature/move-to-official-gh-token with: error-messages: | lost communication with the server From ad85ef0e5ad341e13a148184f80dd3880f3a07db Mon Sep 17 00:00:00 2001 From: Leo J <153937047+leiicamundi@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:12:40 +0200 Subject: [PATCH 2/4] up --- .github/workflows/build-images.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 845913b0..809954bc 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -33,6 +33,7 @@ jobs: steps: - name: Create an error run: | + echo "test" echo "lost communication with the server" exit 1 @@ -40,6 +41,7 @@ jobs: runs-on: ubuntu-24.04 needs: - triage + - on-purpose-error outputs: matrix_keycloak_versions: ${{ steps.set-matrix.outputs.matrix_keycloak_versions }} steps: From 02dee674131624c7d30166df0eccaccbe7249c68 Mon Sep 17 00:00:00 2001 From: Leo J <153937047+leiicamundi@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:19:37 +0200 Subject: [PATCH 3/4] up --- .github/workflows/build-images.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 809954bc..e9219293 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -33,6 +33,7 @@ jobs: steps: - name: Create an error run: | + echo "test" echo "test" echo "lost communication with the server" exit 1 From 7f2c994f368fe4378c5a48ab2d90c0e6ef170278 Mon Sep 17 00:00:00 2001 From: Leo J <153937047+leiicamundi@users.noreply.github.com> Date: Mon, 30 Sep 2024 16:46:35 +0200 Subject: [PATCH 4/4] up --- .github/workflows/build-images.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index e9219293..809954bc 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -33,7 +33,6 @@ jobs: steps: - name: Create an error run: | - echo "test" echo "test" echo "lost communication with the server" exit 1