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

Commit 0e89e1f

Browse files
authored
Merge branch 'main' into cleanup-action
2 parents 35ea98e + c8b7229 commit 0e89e1f

602 files changed

Lines changed: 4316 additions & 3975 deletions

File tree

Some content is hidden

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

.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:04c35dc5f49f0f503a306397d6d043685f8d2bb822ab515818c4208d7fb2db3a
17-
# created: 2025-01-16T15:24:11.364245182Z
16+
digest: sha256:5581906b957284864632cde4e9c51d1cc66b0094990b27e689132fe5cd036046
17+
# created: 2025-03-05

.github/sync-repo-settings.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,11 @@ branchProtectionRules:
1515
- 'mypy (3.13)'
1616
- 'showcase (3.7, showcase)'
1717
- 'showcase (3.13, showcase)'
18-
- 'showcase (3.7, showcase_alternative_templates)'
19-
- 'showcase (3.13, showcase_alternative_templates)'
2018
- 'showcase (3.7, showcase_w_rest_async)'
2119
- 'showcase (3.13, showcase_w_rest_async)'
2220
# TODO(dovs): reenable these when the mtls tests have been debugged and fixed
2321
# See #1218 for details
2422
# - 'showcase-mtls (showcase_mtls)'
25-
# - 'showcase-mtls (showcase_mtls_alternative_templates)'
2623
- 'showcase-mypy'
2724
- 'showcase-mypy (_alternative_templates)'
2825
- 'showcase-unit (3.7)'

.github/workflows/tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
matrix:
6262
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2121) Remove `showcase_w_rest_async` target when async rest is GA.
6363
python: ["${ALL_PYTHON}[0]", "${ALL_PYTHON}[-1]"]
64-
target: [showcase, showcase_alternative_templates, showcase_w_rest_async]
64+
target: [showcase, showcase_w_rest_async]
6565
logging_scope: ["", "google"]
6666

6767
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
@@ -106,7 +106,7 @@ jobs:
106106
if: ${{ false }} # TODO(dovs): reenable when #1218 is fixed
107107
strategy:
108108
matrix:
109-
target: [showcase_mtls, showcase_mtls_alternative_templates]
109+
target: [showcase_mtls]
110110
max-parallel: 1
111111
runs-on: ubuntu-latest
112112
steps:

.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/gapic-generator-python"
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,10 +30,16 @@ 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
# Setup project id.
34-
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
39+
if [[ -f "${KOKORO_GFILE_DIR}/project-id.json" ]]
40+
then
41+
export PROJECT_ID=$(cat "${KOKORO_GFILE_DIR}/project-id.json")
42+
fi
3543

3644
# If this is a continuous build, send the test log to the FlakyBot.
3745
# See https://github.com/googleapis/repo-automation-bots/tree/main/packages/flakybot.
@@ -46,7 +54,7 @@ fi
4654
# If NOX_SESSION is set, it only runs the specified session,
4755
# otherwise run all the sessions.
4856
if [[ -n "${NOX_SESSION:-}" ]]; then
49-
python3 -m nox -s ${NOX_SESSION:-}
57+
python3 -m nox -s ${NOX_SESSION:-}
5058
else
51-
python3 -m nox
59+
python3 -m nox
5260
fi

.kokoro/docker/docs/Dockerfile

Lines changed: 0 additions & 89 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)