| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| 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. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,7 @@ | |||
| 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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,6 @@ | |||
| 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. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,8 +13,6 @@ | |||
| 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 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,34 @@ | |||
| 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-scheduler/.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-scheduler/.kokoro/trampoline.sh" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + # Format: //devtools/kokoro/config/proto/build.proto | ||
| 2 | + | ||
| 3 | + env_vars: { | ||
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| 5 | + value: "True" | ||
| 6 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + # Format: //devtools/kokoro/config/proto/build.proto | ||
| 2 | + | ||
| 3 | + env_vars: { | ||
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| 5 | + value: "False" | ||
| 6 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + # Format: //devtools/kokoro/config/proto/build.proto | ||
| 2 | + | ||
| 3 | + env_vars: { | ||
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| 5 | + value: "True" | ||
| 6 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,34 @@ | |||
| 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-scheduler/.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-scheduler/.kokoro/trampoline.sh" | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,7 @@ | |||
| 1 | + # Format: //devtools/kokoro/config/proto/build.proto | ||
| 2 | + | ||
| 3 | + env_vars: { | ||
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" | ||
| 5 | + value: "True" | ||
| 6 | + } | ||
| 7 | + | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments