This repository was archived by the owner on Oct 13, 2026. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss bannerExpand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .flake8 +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -21,6 +21,8 @@ exclude = |
21 | 21 | # Exclude generated code. |
22 | 22 | **/proto/** |
23 | 23 | **/gapic/** |
| 24 | + **/services/** |
| 25 | + **/types/** |
24 | 26 | *_pb2.py |
25 | 27 |
|
26 | 28 | # Standard linting exemptions. |
|
Collapse file
Copy file name to clipboardExpand all lines: .gitignore +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
10 | 10 | dist |
11 | 11 | build |
12 | 12 | eggs |
| 13 | +.eggs |
13 | 14 | parts |
14 | 15 | bin |
15 | 16 | var |
@@ -49,6 +50,7 @@ bigquery/docs/generated |
49 | 50 | # Virtual environment |
50 | 51 | env/ |
51 | 52 | coverage.xml |
| 53 | +sponge_log.xml |
52 | 54 |
|
53 | 55 | # System test environment variables. |
54 | 56 | system_tests/local_test_setup |
|
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/publish-docs.sh -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | # See the License for the specific language governing permissions and |
14 | 14 | # limitations under the License. |
15 | 15 |
|
16 | | -#!/bin/bash |
17 | | - |
18 | 16 | set -eo pipefail |
19 | 17 |
|
20 | 18 | # Disable buffering, so that the logs stream through. |
|
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/release.sh -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | # See the License for the specific language governing permissions and |
14 | 14 | # limitations under the License. |
15 | 15 |
|
16 | | -#!/bin/bash |
17 | | - |
18 | 16 | set -eo pipefail |
19 | 17 |
|
20 | 18 | # Start the releasetool reporter |
|
Collapse file
Copy file name to clipboard +34Lines changed: 34 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 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: "lint" |
| 14 | +} |
| 15 | + |
| 16 | +env_vars: { |
| 17 | + key: "TRAMPOLINE_BUILD_FILE" |
| 18 | + value: "github/python-pubsub/.kokoro/test-samples.sh" |
| 19 | +} |
| 20 | + |
| 21 | +# Configure the docker image for kokoro-trampoline. |
| 22 | +env_vars: { |
| 23 | + key: "TRAMPOLINE_IMAGE" |
| 24 | + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" |
| 25 | +} |
| 26 | + |
| 27 | +# Download secrets for samples |
| 28 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" |
| 29 | + |
| 30 | +# Download trampoline resources. |
| 31 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" |
| 32 | + |
| 33 | +# Use the trampoline script to run in docker. |
| 34 | +build_file: "python-pubsub/.kokoro/trampoline.sh" |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "False" |
| 6 | +} |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
Collapse file
Copy file name to clipboard +34Lines changed: 34 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 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.6" |
| 14 | +} |
| 15 | + |
| 16 | +env_vars: { |
| 17 | + key: "TRAMPOLINE_BUILD_FILE" |
| 18 | + value: "github/python-pubsub/.kokoro/test-samples.sh" |
| 19 | +} |
| 20 | + |
| 21 | +# Configure the docker image for kokoro-trampoline. |
| 22 | +env_vars: { |
| 23 | + key: "TRAMPOLINE_IMAGE" |
| 24 | + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" |
| 25 | +} |
| 26 | + |
| 27 | +# Download secrets for samples |
| 28 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" |
| 29 | + |
| 30 | +# Download trampoline resources. |
| 31 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" |
| 32 | + |
| 33 | +# Use the trampoline script to run in docker. |
| 34 | +build_file: "python-pubsub/.kokoro/trampoline.sh" |
Collapse file
Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
| 7 | + |