This repository was archived by the owner on Sep 3, 2022. It is now read-only.
Commit b0f5c2d
authored
Explicitly configure gcloud to use the test project in release validation. (#1154)
This change switches the release script from specifying the test project
via the 'PROJECT_ID' environment variable to instead setting the project
via the 'CLOUDSDK_CORE_PROJECT' environment varialbe.
This is necessary because googledatalab/pydatalab#136
changed the pydatalab library so that the gcloud config overrides the 'PROJECT_ID'
environment variable. This means that in a GCE VM, we don't use that variable,
as gcloud will pick up the project name from the metadata server.
However, gcloud itself will use the 'CLOUDSDK_CORE_PROJECT' variable, so we
use that one for setting the test project.1 parent 690b9f4 commit b0f5c2d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments