Skip to content

Commit fba3a7f

Browse files
Disable v1 deployment (#1051)
1 parent 84187df commit fba3a7f

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

cloudbuild.yaml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -113,36 +113,36 @@ steps:
113113
# TODO: delete once legacy services are retired.
114114

115115
# Use the GCR image as the base for the AppEngine deployment.
116-
- name: gcr.io/cloud-builders/gcloud
117-
id: "Generate Dockerfile for AppEngine deployment"
118-
entrypoint: bash
119-
args: [
120-
'-c', 'echo "FROM gcr.io/$PROJECT_ID/etl:$_DOCKER_TAG" > /workspace/cmd/etl_worker/Dockerfile',
121-
]
122-
116+
#- name: gcr.io/cloud-builders/gcloud
117+
# id: "Generate Dockerfile for AppEngine deployment"
118+
# entrypoint: bash
119+
# args: [
120+
# '-c', 'echo "FROM gcr.io/$PROJECT_ID/etl:$_DOCKER_TAG" > /workspace/cmd/etl_worker/Dockerfile',
121+
# ]
122+
#
123123
# LEGACY PARSER: Deploy to app engine.
124-
- name: gcr.io/google.com/cloudsdktool/cloud-sdk
125-
id: "Deploy etl batch parser to app engine"
126-
args: [
127-
'gcloud', 'app', 'deploy', '--project=$PROJECT_ID', 'appengine/queue.yaml'
128-
]
129-
124+
# - name: gcr.io/google.com/cloudsdktool/cloud-sdk
125+
# id: "Deploy etl batch parser to app engine"
126+
# args: [
127+
# 'gcloud', 'app', 'deploy', '--project=$PROJECT_ID', 'appengine/queue.yaml'
128+
# ]
129+
#
130130
# Prepare app yaml configuration.
131-
- name: gcr.io/google.com/cloudsdktool/cloud-sdk
132-
id: "Update annotator url environment variable in app-batch.yaml"
133-
args: [
134-
'bash', '-c',
135-
"sed -i -e 's|{{ANNOTATOR_URL}}|$_ANNOTATOR_URL|' cmd/etl_worker/app-batch.yaml"
136-
]
137-
138-
- name: gcr.io/google.com/cloudsdktool/cloud-sdk
139-
id: "Deploy etl batch parser to AppEngine"
140-
args: [
141-
'bash', '-c', 'cd cmd/etl_worker && gcloud --project=$PROJECT_ID app deploy --promote app-batch.yaml'
142-
]
143-
144-
- name: gcr.io/google.com/cloudsdktool/cloud-sdk
145-
id: "Delete non-serving appengine versions"
146-
args: [
147-
'bash', '-c', './delete-appengine-services.sh'
148-
]
131+
# - name: gcr.io/google.com/cloudsdktool/cloud-sdk
132+
# id: "Update annotator url environment variable in app-batch.yaml"
133+
# args: [
134+
# 'bash', '-c',
135+
# "sed -i -e 's|{{ANNOTATOR_URL}}|$_ANNOTATOR_URL|' cmd/etl_worker/app-batch.yaml"
136+
# ]
137+
#
138+
# - name: gcr.io/google.com/cloudsdktool/cloud-sdk
139+
# id: "Deploy etl batch parser to AppEngine"
140+
# args: [
141+
# 'bash', '-c', 'cd cmd/etl_worker && gcloud --project=$PROJECT_ID app deploy --promote app-batch.yaml'
142+
# ]
143+
#
144+
# - name: gcr.io/google.com/cloudsdktool/cloud-sdk
145+
# id: "Delete non-serving appengine versions"
146+
# args: [
147+
# 'bash', '-c', './delete-appengine-services.sh'
148+
# ]

0 commit comments

Comments
 (0)