Skip to content

Commit

Permalink
Merge 4fcede6 into 800620c
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed Feb 5, 2024
2 parents 800620c + 4fcede6 commit bfdd232
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cloudbuild/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ steps:
app.yaml
- gcloud --project $PROJECT_ID app deploy --promote app.yaml
# After deploying the new service, deploy the openapi spec.
- sed -i -e 's/{{PROJECT}}/$PROJECT_ID/' openapi.yaml
- sed -i -e 's/{{PROJECT}}/$PROJECT_ID/' -e 's/{{DEPLOYMENT}}/$PROJECT_ID/' openapi.yaml
- gcloud endpoints services deploy openapi.yaml

# Deployment of APIs in mlab-ns.
Expand All @@ -50,5 +50,5 @@ steps:
app.yaml
- gcloud --project $PROJECT_ID app deploy --promote app.yaml
# After deploying the new service, deploy the openapi spec.
- sed -i -e 's/{{PROJECT}}/$PROJECT_ID/' openapi.yaml
- gcloud endpoints services deploy openapi.yaml
- sed -i -e 's/{{PROJECT}}/$PROJECT_ID/' -e 's/{{DEPLOYMENT}}/Production/' openapi.yaml
- gcloud endpoints services deploy openapi.yaml
2 changes: 1 addition & 1 deletion openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ info:
description: |-
The locate API provides consistent, expected measurement quality for M-Lab
clients.
title: "M-Lab Locate API"
title: "M-Lab Locate API ({{DEPLOYMENT}})"
version: "2.0.0"
host: "locate-dot-{{PROJECT}}.appspot.com"
# [END swagger]
Expand Down

0 comments on commit bfdd232

Please sign in to comment.