Skip to content

Commit f71aba8

Browse files
partheagcf-owl-bot[bot]
authored andcommitted
chore: remove unused files (#1027)
* chore: remove unused files * πŸ¦‰ 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>
1 parent 1a08c4b commit f71aba8

File tree

10 files changed

+16
-594
lines changed

10 files changed

+16
-594
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:fdc038572b896f739f95cc90e62f16c06e4f2ef0ef3bea343a358331862ad0f0
17-
# created: 2025-02-13T21:06:55.521673457Z
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-firestore"
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
@@ -31,10 +33,16 @@ env | grep KOKORO
3133
export FIRESTORE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/firebase-credentials.json
3234

3335
# Setup service account credentials.
34-
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
36+
if [[ -f "${KOKORO_GFILE_DIR}/service-account.json" ]]
37+
then
38+
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
39+
fi
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/fetch_gpg_keys.shβ€Ž

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

β€Ž.kokoro/docker/docs/requirements.inβ€Ž

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

0 commit comments

Comments
Β (0)