Skip to content

Commit a268c8f

Browse files
chore: add logging section to readme (#1018)
* chore: add logging section to readme Source-Link: googleapis/synthtool@d1011bc Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:fdc038572b896f739f95cc90e62f16c06e4f2ef0ef3bea343a358331862ad0f0 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Daniel Sanche <[email protected]>
1 parent 840bd84 commit a268c8f

File tree

2 files changed

+8
-16
lines changed

2 files changed

+8
-16
lines changed

packages/google-cloud-firestore/.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:f016446d6e520e5fb552c45b110cba3f217bffdd3d06bdddd076e9e6d13266cf
17-
# created: 2025-02-21T19:32:52.01306189Z
16+
digest: sha256:fdc038572b896f739f95cc90e62f16c06e4f2ef0ef3bea343a358331862ad0f0
17+
# created: 2025-02-13T21:06:55.521673457Z

packages/google-cloud-firestore/.kokoro/build.sh

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

1616
set -eo pipefail
1717

18-
CURRENT_DIR=$(dirname "${BASH_SOURCE[0]}")
19-
2018
if [[ -z "${PROJECT_ROOT:-}" ]]; then
21-
PROJECT_ROOT=$(realpath "${CURRENT_DIR}/..")
19+
PROJECT_ROOT="github/python-firestore"
2220
fi
2321

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

2624
# Disable buffering, so that the logs stream through.
2725
export PYTHONUNBUFFERED=1
@@ -33,16 +31,10 @@ env | grep KOKORO
3331
export FIRESTORE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/firebase-credentials.json
3432

3533
# Setup service account credentials.
36-
if [[ -f "${KOKORO_GFILE_DIR}/service-account.json" ]]
37-
then
38-
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
39-
fi
34+
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
4035

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

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

0 commit comments

Comments
 (0)