Skip to content

Commit 72a66ab

Browse files
chore(python): updates jinja template to control blank line whitespace
Source-Link: googleapis/synthtool@34a69c3 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:4a8232300a61a84d0434631f35a44faef47b515d8443b63276d60b5cf7211a63
1 parent 5fcbcbb commit 72a66ab

File tree

19 files changed

+516
-50
lines changed

19 files changed

+516
-50
lines changed

.github/.OwlBot.lock.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google LLC
1+
# Copyright 2025 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -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:e8dcfd7cbfd8beac3a3ff8d3f3185287ea0625d859168cc80faccfc9a7a00455
17-
# created: 2024-09-16T21:04:09.091105552Z
16+
digest: sha256:4a8232300a61a84d0434631f35a44faef47b515d8443b63276d60b5cf7211a63
17+
# created: 2025-02-19T11:07:47.623260933Z

.github/release-trigger.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
enabled: true
2+
multiScmName: python-error-reporting

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Python
1313
uses: actions/setup-python@v5
1414
with:
15-
python-version: "3.9"
15+
python-version: "3.10"
1616
- name: Install nox
1717
run: |
1818
python -m pip install --upgrade setuptools pip wheel

.github/workflows/unittest.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ on:
55
name: unittest
66
jobs:
77
unit:
8-
runs-on: ubuntu-latest
8+
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2303): use `ubuntu-latest` once this bug is fixed.
9+
# Use ubuntu-22.04 until Python 3.7 is removed from the test matrix
10+
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
11+
runs-on: ubuntu-22.04
912
strategy:
1013
matrix:
11-
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
14+
python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1215
steps:
1316
- name: Checkout
1417
uses: actions/checkout@v4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
nox
2+
gcp-docuploader

.kokoro/docker/docs/requirements.txt

Lines changed: 284 additions & 29 deletions
Large diffs are not rendered by default.

.kokoro/docs/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ before_action {
6565
}
6666
}
6767

68+
6869
#############################################
6970
# this section merged from .kokoro/common_env_vars.cfg using owlbot.py
7071

.kokoro/publish-docs.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ export PYTHONUNBUFFERED=1
2020

2121
export PATH="${HOME}/.local/bin:${PATH}"
2222

23-
# Install nox
24-
python3.10 -m pip install --require-hashes -r .kokoro/requirements.txt
25-
python3.10 -m nox --version
26-
2723
# build docs
2824
nox -s docs
2925

.kokoro/release/common.cfg

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,23 @@ env_vars: {
6767

6868
###################################################
6969

70+
71+
72+
#############################################
73+
# this section merged from .kokoro/common_env_vars.cfg using owlbot.py
74+
75+
env_vars: {
76+
key: "PRODUCT_AREA_LABEL"
77+
value: "observability"
78+
}
79+
env_vars: {
80+
key: "PRODUCT_LABEL"
81+
value: "error-reporting"
82+
}
83+
env_vars: {
84+
key: "LANGUAGE_LABEL"
85+
value: "python"
86+
}
87+
88+
###################################################
89+
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Format: //devtools/kokoro/config/proto/build.proto
2+
3+
# Build logs will be here
4+
action {
5+
define_artifacts {
6+
regex: "**/*sponge_log.xml"
7+
}
8+
}
9+
10+
# Specify which tests to run
11+
env_vars: {
12+
key: "RUN_TESTS_SESSION"
13+
value: "py-3.13"
14+
}
15+
16+
# Declare build specific Cloud project.
17+
env_vars: {
18+
key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
19+
value: "python-docs-samples-tests-313"
20+
}
21+
22+
env_vars: {
23+
key: "TRAMPOLINE_BUILD_FILE"
24+
value: "github/python-error-reporting/.kokoro/test-samples.sh"
25+
}
26+
27+
# Configure the docker image for kokoro-trampoline.
28+
env_vars: {
29+
key: "TRAMPOLINE_IMAGE"
30+
value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker"
31+
}
32+
33+
# Download secrets for samples
34+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
35+
36+
# Download trampoline resources.
37+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
38+
39+
# Use the trampoline script to run in docker.
40+
build_file: "python-error-reporting/.kokoro/trampoline_v2.sh"
41+
42+
43+
#############################################
44+
# this section merged from .kokoro/common_env_vars.cfg using owlbot.py
45+
46+
env_vars: {
47+
key: "PRODUCT_AREA_LABEL"
48+
value: "observability"
49+
}
50+
env_vars: {
51+
key: "PRODUCT_LABEL"
52+
value: "error-reporting"
53+
}
54+
env_vars: {
55+
key: "LANGUAGE_LABEL"
56+
value: "python"
57+
}
58+
59+
###################################################
60+

0 commit comments

Comments
 (0)