Skip to content

Commit 900167c

Browse files
committed
ci: set project ID via env var
1 parent d9781c3 commit 900167c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.kokoro/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ fi
3939
if [[ -f "${KOKORO_GFILE_DIR}/project-id.json" ]]
4040
then
4141
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
42-
else
43-
export PROJECT_ID=precise-truck-742
4442
fi
45-
export GOOGLE_CLOUD_PROJECT="${PROJECT_ID}"
4643

4744
# If this is a continuous build, send the test log to the FlakyBot.
4845
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.

.kokoro/presubmit-instance/common.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ container_properties {
1212
}
1313

1414
build_file: "python-bigquery/.kokoro/build.sh"
15+
16+
env_vars: {
17+
key: "GOOGLE_CLOUD_PROJECT"
18+
value: "precise-truck-742"
19+
}

0 commit comments

Comments
 (0)