diff --git a/deploy/run-production-canary.sh b/deploy/run-production-canary.sh index 9d84186..c48e0ce 100644 --- a/deploy/run-production-canary.sh +++ b/deploy/run-production-canary.sh @@ -63,7 +63,7 @@ if [[ -z "$stable_set" ]]; then "cognitive-worker":{"name":"cognitive-worker","revision":"$stable_revision","upstream":"http://cognitive-worker:8083","health_url":"http://cognitive-worker:8083/healthz","ready_url":"http://cognitive-worker:8083/readyz"}, "research-runtime":{"name":"research-runtime","revision":"$stable_revision","upstream":"http://research-runtime:8087","health_url":"http://research-runtime:8087/healthz","ready_url":"http://research-runtime:8087/readyz"}}} JSON - )" + ) curl -fsS --max-time 10 -X POST "$SUPERVISOR_CONTROL_URL/v1/releases/baseline-set" -H 'Content-Type: application/json' --data "$stable_set" >/dev/null || fail_rollback fi