This repository was archived by the owner on Oct 15, 2025. It is now read-only.
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | docker: |
2 | 2 | image: gcr.io/repo-automation-bots/owlbot-python:latest |
3 | | - digest: sha256:6186535cbdbf6b9fe61f00294929221d060634dae4a0795c1cefdbc995b2d605 |
| 3 | + digest: sha256:aea14a583128771ae8aefa364e1652f3c56070168ef31beb203534222d842b8b |
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/samples/python3.6/common.cfg +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,18 +7,18 @@ action { |
7 | 7 | } |
8 | 8 | } |
9 | 9 |
|
10 | | -# Declare build specific Cloud project. |
11 | | -env_vars: { |
12 | | - key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
13 | | - value: "ucaip-sample-tests" |
14 | | -} |
15 | | - |
16 | 10 | # Specify which tests to run |
17 | 11 | env_vars: { |
18 | 12 | key: "RUN_TESTS_SESSION" |
19 | 13 | value: "py-3.6" |
20 | 14 | } |
21 | 15 |
|
| 16 | +# Declare build specific Cloud project. |
| 17 | +env_vars: { |
| 18 | + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
| 19 | + value: "ucaip-sample-tests" |
| 20 | +} |
| 21 | + |
22 | 22 | env_vars: { |
23 | 23 | key: "TRAMPOLINE_BUILD_FILE" |
24 | 24 | value: "github/python-aiplatform/.kokoro/test-samples.sh" |
|
Collapse file
Copy file name to clipboard +11Lines changed: 11 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 | + |
| 8 | +env_vars: { |
| 9 | + key: "TRAMPOLINE_BUILD_FILE" |
| 10 | + value: "github/python-aiplatform/.kokoro/test-samples-against-head.sh" |
| 11 | +} |
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/samples/python3.7/common.cfg +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,18 +7,18 @@ action { |
7 | 7 | } |
8 | 8 | } |
9 | 9 |
|
10 | | -# Declare build specific Cloud project. |
11 | | -env_vars: { |
12 | | - key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
13 | | - value: "ucaip-sample-tests" |
14 | | -} |
15 | | - |
16 | 10 | # Specify which tests to run |
17 | 11 | env_vars: { |
18 | 12 | key: "RUN_TESTS_SESSION" |
19 | 13 | value: "py-3.7" |
20 | 14 | } |
21 | 15 |
|
| 16 | +# Declare build specific Cloud project. |
| 17 | +env_vars: { |
| 18 | + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
| 19 | + value: "ucaip-sample-tests" |
| 20 | +} |
| 21 | + |
22 | 22 | env_vars: { |
23 | 23 | key: "TRAMPOLINE_BUILD_FILE" |
24 | 24 | value: "github/python-aiplatform/.kokoro/test-samples.sh" |
|
Collapse file
Copy file name to clipboard +11Lines changed: 11 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 | + |
| 8 | +env_vars: { |
| 9 | + key: "TRAMPOLINE_BUILD_FILE" |
| 10 | + value: "github/python-aiplatform/.kokoro/test-samples-against-head.sh" |
| 11 | +} |
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/samples/python3.8/common.cfg +3-9Lines changed: 3 additions & 9 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -7,22 +7,16 @@ action { |
7 | 7 | } |
8 | 8 | } |
9 | 9 |
|
10 | | -# Declare build specific Cloud project. |
11 | | -env_vars: { |
12 | | - key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
13 | | - value: "ucaip-sample-tests" |
14 | | -} |
15 | | - |
16 | 10 | # Specify which tests to run |
17 | 11 | env_vars: { |
18 | 12 | key: "RUN_TESTS_SESSION" |
19 | 13 | value: "py-3.8" |
20 | 14 | } |
21 | 15 |
|
22 | | -# Run tests located under tests/system |
| 16 | +# Declare build specific Cloud project. |
23 | 17 | env_vars: { |
24 | | - key: "RUN_SYSTEM_TESTS" |
25 | | - value: "true" |
| 18 | + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
| 19 | + value: "ucaip-sample-tests" |
26 | 20 | } |
27 | 21 |
|
28 | 22 | env_vars: { |
|
Collapse file
Copy file name to clipboard +11Lines changed: 11 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 | + |
| 8 | +env_vars: { |
| 9 | + key: "TRAMPOLINE_BUILD_FILE" |
| 10 | + value: "github/python-aiplatform/.kokoro/test-samples-against-head.sh" |
| 11 | +} |
Collapse file
Copy file name to clipboard +40Lines changed: 40 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.9" |
| 14 | +} |
| 15 | + |
| 16 | +# Declare build specific Cloud project. |
| 17 | +env_vars: { |
| 18 | + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
| 19 | + value: "ucaip-sample-tests" |
| 20 | +} |
| 21 | + |
| 22 | +env_vars: { |
| 23 | + key: "TRAMPOLINE_BUILD_FILE" |
| 24 | + value: "github/python-aiplatform/.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-aiplatform/.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 +11Lines changed: 11 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 | + |
| 8 | +env_vars: { |
| 9 | + key: "TRAMPOLINE_BUILD_FILE" |
| 10 | + value: "github/python-aiplatform/.kokoro/test-samples-against-head.sh" |
| 11 | +} |