Skip to content

Commit bfbc5ed

Browse files
committed
ci: try skipping drive scope
1 parent 4c6bdc0 commit bfbc5ed

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.kokoro/build.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@ then
4141
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
4242
fi
4343

44-
# try to enable Google Drive access
45-
gcloud --version
46-
gcloud auth login --enable-gdrive-access
47-
4844
# If this is a continuous build, send the test log to the FlakyBot.
4945
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
5046
if [[ $KOKORO_BUILD_ARTIFACTS_SUBDIR = *"continuous"* ]]; then

samples/query_external_sheets_permanent_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def query_external_sheets_permanent_table(dataset_id: str) -> None:
2828
# --scopes=https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/cloud-platform
2929
credentials, project = google.auth.default(
3030
scopes=[
31-
"https://www.googleapis.com/auth/drive",
31+
# "https://www.googleapis.com/auth/drive",
3232
"https://www.googleapis.com/auth/bigquery",
3333
]
3434
)

samples/query_external_sheets_temporary_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def query_external_sheets_temporary_table() -> None:
2929
# --scopes=https://www.googleapis.com/auth/drive,https://www.googleapis.com/auth/cloud-platform
3030
credentials, project = google.auth.default(
3131
scopes=[
32-
"https://www.googleapis.com/auth/drive",
32+
# "https://www.googleapis.com/auth/drive",
3333
"https://www.googleapis.com/auth/cloud-platform",
3434
]
3535
)

0 commit comments

Comments
 (0)