[DTOSS-12784] - Tag-driven release pipeline with smoke tests - #102
Merged
josielsouzanordcloud merged 2 commits intoApr 29, 2026
Conversation
josielsouzanordcloud
temporarily deployed
to
dev
April 28, 2026 08:46 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
dev
April 28, 2026 08:47 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
dev
April 28, 2026 09:05 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
preprod
April 28, 2026 09:07 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
dev
April 28, 2026 09:09 — with
GitHub Actions
Failure
josielsouzanordcloud
requested a deployment
to
preprod
April 28, 2026 09:29 — with
GitHub Actions
Abandoned
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 09:57 — with
GitHub Actions
Inactive
josielsouzanordcloud
had a problem deploying
to
review
April 28, 2026 09:58 — with
GitHub Actions
Failure
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 10:57 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 10:58 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 11:10 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 11:11 — with
GitHub Actions
Inactive
josielsouzanordcloud
force-pushed
the
DTOSS-12784-tag-driven-release-pipeline
branch
from
April 28, 2026 11:40
e378db2 to
4d7a354
Compare
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 11:58 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 12:01 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 12:27 — with
GitHub Actions
Inactive
josielsouzanordcloud
temporarily deployed
to
review
April 28, 2026 12:28 — with
GitHub Actions
Inactive
Replace python-semantic-release with an explicit v* tag trigger.
Pushing a v* tag runs commit → test → build then deploys infra, app
and smoke test to each environment in sequence (dev → preprod → prod)
before promoting to the next. Prod requires a manual approval gate.
Main-branch merges redeploy the latest release tag to dev then preprod
in order (infra → app per environment) without triggering a new build.
The deployment is idempotent — deploy.ps1 writes a VERSION file after
each successful install and skips reinstallation if the tag matches.
workflow_dispatch targets a single environment (dev / preprod / review)
for surgical redeployment, e.g. when onboarding a new Arc-enabled VM.
Smoke tests run via az connectedmachine run-command (no direct hospital
network access required): checks all 4 Windows services are Running
then sends a DICOM C-ECHO to verify the PACS server is accepting
connections.
Also fixes:
- staging directory moved from C:\Windows\Temp to to
avoid SYSTEM account access denial on Move-Item across security
boundaries
- em dash in a PowerShell string literal caused parse errors on Windows
when the Arc Run Command handler writes the script without a UTF-8
BOM and PowerShell 5.1 misreads it as CP1252
- VERSION file written with no-BOM UTF-8 to avoid idempotency check
always failing on Windows PowerShell 5.1
josielsouzanordcloud
force-pushed
the
DTOSS-12784-tag-driven-release-pipeline
branch
from
April 28, 2026 12:32
4764c65 to
6a95cce
Compare
steventux
approved these changes
Apr 29, 2026
steventux
left a comment
Contributor
There was a problem hiding this comment.
A small suggestion for the c-echo python script
Co-authored-by: Steve Laing <steve.laing@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The previous pipeline used python-semantic-release to automatically cut releases on every main-branch merge based on conventional commit messages. This was never fully wired up and is inappropriate for this service — software deploying to NHS hospital Windows machines needs deliberate, controlled promotion through environments, not automatic releases inferred from commit history.
This PR replaces it with an explicit tag-driven model: a release only happens when an engineer intentionally pushes a v* tag, and each environment must pass a smoke test before the next one is promoted to.
What changed
Replaces the unused python-semantic-release approach with an explicit, deliberate release process. Releases are now triggered by pushing a v* tag rather than inferred from commit messages.
cicd-3-release.yaml (new) — triggered by git tag v1.2.3 && git push origin v1.2.3:
cicd-2-main-branch.yaml (updated) — main-branch merges now:
scripts/bash/smoke_test.sh + scripts/powershell/smoke_test.ps1 (new) — post-deploy smoke test run via az connectedmachine run-command (no direct hospital network access needed):
scripts/powershell/deploy.ps1 (updated):
Jira link
DTOSS-12784
Review notes
Review checklist