Skip to content
This repository was archived by the owner on Mar 31, 2026. It is now read-only.

Commit 5913d00

Browse files
authored
Merge branch 'main' into lsz/GSO-16/Operation_GFE_metrics
2 parents d839ade + d025867 commit 5913d00

File tree

84 files changed

+11079
-3151
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+11079
-3151
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:8ff1efe878e18bd82a0fb7b70bb86f77e7ab6901fed394440b6135db0ba8d84a
17-
# created: 2025-01-09T12:01:16.422459506Z
16+
digest: sha256:5581906b957284864632cde4e9c51d1cc66b0094990b27e689132fe5cd036046
17+
# created: 2025-03-05

.kokoro/build.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515

1616
set -eo pipefail
1717

18+
CURRENT_DIR=$(dirname "${BASH_SOURCE[0]}")
19+
1820
if [[ -z "${PROJECT_ROOT:-}" ]]; then
19-
PROJECT_ROOT="github/python-spanner"
21+
PROJECT_ROOT=$(realpath "${CURRENT_DIR}/..")
2022
fi
2123

22-
cd "${PROJECT_ROOT}"
24+
pushd "${PROJECT_ROOT}"
2325

2426
# Disable buffering, so that the logs stream through.
2527
export PYTHONUNBUFFERED=1
@@ -28,13 +30,19 @@ export PYTHONUNBUFFERED=1
2830
env | grep KOKORO
2931

3032
# Setup service account credentials.
31-
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
33+
if [[ -f "${KOKORO_GFILE_DIR}/service-account.json" ]]
34+
then
35+
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
36+
fi
3237

3338
# Set up creating a new instance for each system test run
3439
export GOOGLE_CLOUD_TESTS_CREATE_SPANNER_INSTANCE=true
3540

3641
# Setup project id.
37-
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
42+
if [[ -f "${KOKORO_GFILE_DIR}/project-id.json" ]]
43+
then
44+
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
45+
fi
3846

3947
# If this is a continuous build, send the test log to the FlakyBot.
4048
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
@@ -49,7 +57,7 @@ fi
4957
# If NOX_SESSION is set, it only runs the specified session,
5058
# otherwise run all the sessions.
5159
if [[ -n "${NOX_SESSION:-}" ]]; then
52-
python3 -m nox -s ${NOX_SESSION:-}
60+
python3 -m nox -s ${NOX_SESSION:-}
5361
else
54-
python3 -m nox
62+
python3 -m nox
5563
fi

.kokoro/docker/docs/Dockerfile

Lines changed: 0 additions & 89 deletions
This file was deleted.

.kokoro/docker/docs/requirements.in

Lines changed: 0 additions & 1 deletion
This file was deleted.

.kokoro/docker/docs/requirements.txt

Lines changed: 0 additions & 72 deletions
This file was deleted.

.kokoro/docs/common.cfg

Lines changed: 0 additions & 66 deletions
This file was deleted.

.kokoro/docs/docs-presubmit.cfg

Lines changed: 0 additions & 28 deletions
This file was deleted.

.kokoro/docs/docs.cfg

Lines changed: 0 additions & 1 deletion
This file was deleted.

.kokoro/publish-docs.sh

Lines changed: 0 additions & 62 deletions
This file was deleted.

0 commit comments

Comments
 (0)