Skip to content

fix(deploy): unit-tier test gate in deploy.sh (+ repoint ACR) - #5

Merged
asharahmed merged 1 commit into
mainfrom
fix/deploy-script-unit-test-gate
Jul 17, 2026
Merged

fix(deploy): unit-tier test gate in deploy.sh (+ repoint ACR)#5
asharahmed merged 1 commit into
mainfrom
fix/deploy-script-unit-test-gate

Conversation

@asharahmed

Copy link
Copy Markdown
Owner

scripts/deploy.sh ran dotnet test Ravelin.slnx (whole solution), which pulls in the Testcontainers integration tier and the Playwright E2E tier. On any machine without a running Docker daemon those fail, and set -e aborted the deploy before the ACR push (this bit during the subscription migration). Scope the pre-push gate to the fast unit tier — matching azure-pipelines.yml and the GitHub Actions build-test job; the Docker/browser tiers run in CI (security.yml).

Also repoints ACR_NAME/ACR_LOGIN_SERVER to the current registry (acrravelindevzxyo1s) after the stack was re-provisioned on a new subscription.

Note: the ACR name is still hardcoded (as before); a future improvement would be to read it from terraform output so it never drifts per-deploy.

scripts/deploy.sh ran 'dotnet test Ravelin.slnx' (whole solution), pulling in the
Testcontainers integration + Playwright E2E tiers, which fail on any machine
without a Docker daemon and aborted the deploy before the ACR push. Scope the
pre-push gate to the unit tier (those tiers run in CI). Also repoint ACR to the
current registry after the stack was re-provisioned on a new subscription.
@asharahmed
asharahmed merged commit 17b477b into main Jul 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant