From f1483d6c6adddfb6fe0cf6a64cb37ba735616164 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:45:52 +0000 Subject: [PATCH 1/4] Bump SERVICE_NAME-dlq::cloud-platform-terraform-sqs in /templates Bumps [SERVICE_NAME-dlq::cloud-platform-terraform-sqs](https://github.com/ministryofjustice/cloud-platform-terraform-sqs) from 5.0.0 to 5.1.0. - [Release notes](https://github.com/ministryofjustice/cloud-platform-terraform-sqs/releases) - [Commits](https://github.com/ministryofjustice/cloud-platform-terraform-sqs/compare/5.0.0...5.1.0) --- updated-dependencies: - dependency-name: SERVICE_NAME-dlq::github::ministryofjustice/cloud-platform-terraform-sqs::5.0.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- templates/sqs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sqs.tf b/templates/sqs.tf index 4b7a95a975..56b2b2515e 100644 --- a/templates/sqs.tf +++ b/templates/sqs.tf @@ -33,7 +33,7 @@ resource "aws_sqs_queue_policy" "SERVICE_NAME-queue-policy" { } module "SERVICE_NAME-dlq" { - source = "github.com/ministryofjustice/cloud-platform-terraform-sqs?ref=5.0.0" + source = "github.com/ministryofjustice/cloud-platform-terraform-sqs?ref=5.1.0" # Queue configuration sqs_name = "SERVICE_NAME-dlq" From f6b17ac926ecf21d42bc56bc5588335f227e9c9f Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Fri, 8 Nov 2024 09:13:24 +0000 Subject: [PATCH 2/4] Fix post-build required check not triggering --- .github/workflows/check.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 470632ba99..2f55e1f8bc 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,8 +20,9 @@ jobs: if: always() steps: - name: Check build matrix status - if: ${{ needs.build.result != 'success' }} - run: exit 1 + run: exit "$RESULT" + env: + RESULT: ${{ needs.build.result == 'success' && 0 || 1 }} analyse: name: Analyse From cb4ebe03f500d0b8f89a63ebc24601bb7beebc2b Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Fri, 8 Nov 2024 09:47:31 +0000 Subject: [PATCH 3/4] Debugging --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2f55e1f8bc..17d26caa89 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,7 +20,7 @@ jobs: if: always() steps: - name: Check build matrix status - run: exit "$RESULT" + run: echo "${{ needs.build.result }}" && exit "$RESULT" env: RESULT: ${{ needs.build.result == 'success' && 0 || 1 }} From 6d47c9c2e840bd55fe8ba5bc0a8ceeba5b0d8a9c Mon Sep 17 00:00:00 2001 From: Marcus Aspin Date: Fri, 8 Nov 2024 09:59:19 +0000 Subject: [PATCH 4/4] Debugging --- .github/workflows/check.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 17d26caa89..d9af009d1d 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,9 +20,7 @@ jobs: if: always() steps: - name: Check build matrix status - run: echo "${{ needs.build.result }}" && exit "$RESULT" - env: - RESULT: ${{ needs.build.result == 'success' && 0 || 1 }} + run: if [ "${{ needs.build.result }}" = "success" ]; then exit 0; else exit 1; fi analyse: name: Analyse