diff --git a/infra/argo/fxhnt-cockpit-workflowtemplate.yaml b/infra/argo/fxhnt-cockpit-workflowtemplate.yaml index df5024f..6455242 100644 --- a/infra/argo/fxhnt-cockpit-workflowtemplate.yaml +++ b/infra/argo/fxhnt-cockpit-workflowtemplate.yaml @@ -118,6 +118,8 @@ spec: kubectl apply -f infra/k8s/services/fxhnt-dashboard.yaml kubectl apply -f infra/k8s/orchestration/dagster.yaml kubectl apply -f infra/k8s/network-policies/fxhnt-cockpit.yaml + kubectl -n foxhunt annotate deploy/fxhnt-dashboard deploy/dagster \ + fxhnt.io/deployed-sha="$(cd /workspace/src && git rev-parse --short HEAD)" --overwrite # Dashboard: scale 0 -> 1, NOT `rollout restart`. Its tailscale sidecar serves dashboard.fxhnt.ai; # a rolling restart briefly overlaps two tailscale sessions on the same identity -> session race -> # the external proxy link goes stale and the cockpit reads "down" post-deploy. Scaling to 0 cleanly