Skip to content

Commit a2684bc

Browse files
author
Takashi Matsuo
committed
stop setting gcloud project
1 parent 16e95d9 commit a2684bc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

noxfile-template.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def cloud_run(session):
211211

212212
user_envs = get_pytest_env_vars()
213213

214-
# Only update gcloud on Kokoro.
214+
# Activate service account on Kokoro.
215215
if os.environ.get("KOKORO_JOB_NAME"):
216216
# Activate service account
217217
key_file = os.environ['GOOGLE_APPLICATION_CREDENTIALS']
@@ -220,10 +220,6 @@ def cloud_run(session):
220220
"--key-file={}".format(key_file)
221221
)
222222

223-
# Set gcloud project
224-
project = user_envs['GCLOUD_PROJECT']
225-
session.run("gcloud", "config", "set", "project", project)
226-
227223
test_files = TEST_CONFIG['cloud_run_e2e_test_files']
228224
session.run(
229225
"pytest",

0 commit comments

Comments
 (0)