|
| 1 | +# Copyright 2021 Google LLC |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | + |
| 15 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 16 | + |
| 17 | +# Get secrets for tests. |
| 18 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/cloud-sql/python-connector" |
| 19 | + |
| 20 | +# Download trampoline resources. |
| 21 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" |
| 22 | + |
| 23 | +# Use the trampoline script to run in docker. |
| 24 | +build_file: "cloud-sql-python-connector/.kokoro/trampoline.sh" |
| 25 | + |
| 26 | +env_vars: { |
| 27 | + key: "TRAMPOLINE_IMAGE" |
| 28 | + value: "python:3.10-buster" |
| 29 | +} |
| 30 | + |
| 31 | +# Tell the trampoline which tests to run. |
| 32 | +env_vars: { |
| 33 | + key: "TRAMPOLINE_BUILD_FILE" |
| 34 | + value: "github/cloud-sql-python-connector/.kokoro/tests/run_tests.sh" |
| 35 | +} |
| 36 | + |
| 37 | +# Specify which tests to run |
| 38 | +env_vars: { |
| 39 | + key: "RUN_TESTS_SESSION" |
| 40 | + value: "test-3.10" |
| 41 | +} |
0 commit comments