aboutsummaryrefslogtreecommitdiff
path: root/.kokoro/samples/python3.6/common.cfg
diff options
context:
space:
mode:
authorchojoyce <chojoyce@google.com>2022-01-05 05:23:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-01-05 05:23:52 +0000
commite11dd659005b21df839d0acad276b52f449e4794 (patch)
tree412a59ade78bcacc2449642d7cfd7ccb6a92d8e4 /.kokoro/samples/python3.6/common.cfg
parentd4dcb747f8ac4df33c321b19ee1c511f6e47707e (diff)
parente82c234cd2a425bd77dc184ad3003fd9c37e57fe (diff)
downloadpython-api-core-e11dd659005b21df839d0acad276b52f449e4794.tar.gz
Merge platform/external/python/python-api-core v2.3.0 am: 4e81cd9cc2 am: 95950852f5 am: 01e15770ed am: e82c234cd2
Original change: https://android-review.googlesource.com/c/platform/external/python/python-api-core/+/1931601 Change-Id: Id40439a8a0e0e860ca38e36d776fdd36ce2bc163
Diffstat (limited to '.kokoro/samples/python3.6/common.cfg')
-rw-r--r--.kokoro/samples/python3.6/common.cfg40
1 files changed, 40 insertions, 0 deletions
diff --git a/.kokoro/samples/python3.6/common.cfg b/.kokoro/samples/python3.6/common.cfg
new file mode 100644
index 0000000..3bb6b3a
--- /dev/null
+++ b/.kokoro/samples/python3.6/common.cfg
@@ -0,0 +1,40 @@
+# Format: //devtools/kokoro/config/proto/build.proto
+
+# Build logs will be here
+action {
+ define_artifacts {
+ regex: "**/*sponge_log.xml"
+ }
+}
+
+# Specify which tests to run
+env_vars: {
+ key: "RUN_TESTS_SESSION"
+ value: "py-3.6"
+}
+
+# Declare build specific Cloud project.
+env_vars: {
+ key: "BUILD_SPECIFIC_GCLOUD_PROJECT"
+ value: "python-docs-samples-tests-py36"
+}
+
+env_vars: {
+ key: "TRAMPOLINE_BUILD_FILE"
+ value: "github/python-api-core/.kokoro/test-samples.sh"
+}
+
+# Configure the docker image for kokoro-trampoline.
+env_vars: {
+ key: "TRAMPOLINE_IMAGE"
+ value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker"
+}
+
+# Download secrets for samples
+gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples"
+
+# Download trampoline resources.
+gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
+
+# Use the trampoline script to run in docker.
+build_file: "python-api-core/.kokoro/trampoline_v2.sh" \ No newline at end of file