Skip to content

Commit 544f46e

Browse files
authored
fix: staging slot disabled until platform team fixes it (#146)
1 parent bbbd78b commit 544f46e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/merge-main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
TF_VAR_oidc_discovery_url: https://loginproxy.gov.bc.ca/auth/realms/standard/.well-known/openid-configuration
194194
TF_VAR_oidc_client_id: ai-hub-admin-portal-6366
195195
TF_VAR_oidc_client_secret: ${{ secrets.PORTAL_PROD_OIDC_CLIENT_SECRET }}
196-
# Enable staging slot for zero-downtime slot-swap on the P0v4 ASP.
197-
TF_VAR_enable_deployment_slot: "true"
196+
# Staging slot disabled - blocked by Deny-AppSlots-Public policy (public network access).
197+
TF_VAR_enable_deployment_slot: "false"
198198
PORTAL_NODE_VERSION_FILE: ${{ env.PORTAL_NODE_VERSION_FILE }}
199199
run: bash ./deploy-terraform.sh apply tools --auto-approve --no-var-file

.github/workflows/portal-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
TF_VAR_sku_name: "P0v4"
104104
TF_VAR_enable_always_on: "true"
105105
TF_VAR_app_name_override: "ai-hub-onboarding"
106-
TF_VAR_enable_deployment_slot: "true"
106+
TF_VAR_enable_deployment_slot: "false" # Staging slot disabled - blocked by Deny-AppSlots-Public policy
107107
# Sensitive infra inputs
108108
# App settings pushed into App Service environment
109109
TF_VAR_oidc_discovery_url: https://loginproxy.gov.bc.ca/auth/realms/standard/.well-known/openid-configuration

0 commit comments

Comments
 (0)