Fix MCPSECRET auth and deploy script
This commit is contained in:
parent
b1bdb6b39a
commit
97c7b1794d
|
|
@ -18,7 +18,7 @@ echo "=== 3. Push image ==="
|
||||||
docker push "${FULL_IMAGE}"
|
docker push "${FULL_IMAGE}"
|
||||||
|
|
||||||
echo "=== 4. Deploy with pre-built image ==="
|
echo "=== 4. Deploy with pre-built image ==="
|
||||||
gcloud run deploy "${SERVICE}" --image="${FULL_IMAGE}" --region="${REGION}" --service-account="jason-vauger@${PROJECT}.iam.gserviceaccount.com" --set-secrets="MCP_SECRET=mcp-server-key:latest" --no-allow-unauthenticated --port=8080 --memory=512Mi --cpu=1 --min-instances=0 --max-instances=2 --quiet
|
gcloud run deploy "${SERVICE}" --image="${FULL_IMAGE}" --region="${REGION}" --service-account="jason-vauger@${PROJECT}.iam.gserviceaccount.com" --set-secrets="MCPSECRET=mcp-server-key:latest" --no-allow-unauthenticated --port=8080 --memory=512Mi --cpu=1 --min-instances=0 --max-instances=2 --quiet
|
||||||
|
|
||||||
echo "=== 5. Verify ==="
|
echo "=== 5. Verify ==="
|
||||||
SVC_URL=$(gcloud run services describe "${SERVICE}" --region="${REGION}" --format='value(status.url)')
|
SVC_URL=$(gcloud run services describe "${SERVICE}" --region="${REGION}" --format='value(status.url)')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user