Skip to content

Conversation

@steventux
Copy link
Contributor

@steventux steventux commented Nov 18, 2025

Description

This PR fixes a couple of conditionals which control what gets provisioned and run when $RUN_NOTIFICATIONS_SMOKE_TEST is true or false.

  • Fix Terraform conditional so that we deploy all container app jobs except the smoke test when the RUN_NOTIFICATIONS_SMOKE_TEST variable is set to false.
  • Provision all container app jobs including the smoke test job when the variable is true.
  • Skip notifications smoke test when the variable is false.
  • Run the notifications smoke test when the variable is true.

Configured to skip smoke test

image

https://dev.azure.com/nhse-dtos/dtos-manage-breast-screening/_build/results?buildId=30531&view=results

Configured to run smoke test

image

https://dev.azure.com/nhse-dtos/dtos-manage-breast-screening/_build/results?buildId=30526&view=results

Jira link

https://nhsd-jira.digital.nhs.uk/browse/DTOSS-11296

Review notes

Review checklist

  • Check database queries are correctly scoped to current_provider

@steventux steventux force-pushed the fix-notifications-smoke-test-conditional branch from 07c5789 to 194ffad Compare November 19, 2025 10:01
@github-actions
Copy link

github-actions bot commented Nov 19, 2025

The review app at this URL has been deleted:
https://pr-740.manage-breast-screening.non-live.screening.nhs.uk

We don't want to deploy the notifications smoke_test job when the environment doesn't
run the smoke test.
We want to deploy all other container app jobs regardless.
@steventux steventux force-pushed the fix-notifications-smoke-test-conditional branch from 0ff1311 to e017ade Compare November 19, 2025 10:21
@steventux steventux marked this pull request as ready for review November 19, 2025 10:21
@steventux steventux requested a review from saliceti November 19, 2025 10:25
@steventux steventux changed the title Fix run notifications smoke test variable check Fix RUN_NOTIFICATIONS_SMOKE_TEST variable check Nov 19, 2025
@steventux steventux merged commit 9c925cb into main Nov 20, 2025
13 checks passed
@steventux steventux deleted the fix-notifications-smoke-test-conditional branch November 20, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants