|
| 1 | +# Copyright 2026 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 | +# Github action job to test core java library features on |
| 15 | +# downstream client libraries before they are released. |
| 16 | +options: |
| 17 | + workerPool: 'projects/bigquery-devtools-drivers/locations/us-east1/workerPools/java-bigquery-jdbc-pool' |
| 18 | + dynamic_substitutions: true |
| 19 | + logging: CLOUD_LOGGING_ONLY |
| 20 | + |
| 21 | +timeout: 10000s |
| 22 | +steps: |
| 23 | +- name: 'gcr.io/cloud-devrel-public-resources/java11' |
| 24 | + id: "IT Tests" |
| 25 | + timeout: 10000s |
| 26 | + entrypoint: 'bash' |
| 27 | + args: ['.kokoro/build.sh'] |
| 28 | + env: |
| 29 | + - 'JOB_TYPE=jdbc-integration' |
| 30 | + secretEnv: ['SA_EMAIL', 'KMS_RESOURCE_PATH', 'SA_SECRET'] |
| 31 | +- name: 'gcr.io/cloud-devrel-public-resources/java11' |
| 32 | + id: "IT Nightly Tests" |
| 33 | + timeout: 10000s |
| 34 | + entrypoint: 'bash' |
| 35 | + args: ['.kokoro/build.sh'] |
| 36 | + env: |
| 37 | + - 'JOB_TYPE=jdbc-nightly-integration' |
| 38 | + |
| 39 | +availableSecrets: |
| 40 | + secretManager: |
| 41 | + - versionName: projects/$PROJECT_ID/secrets/jdbc-presubmit-sa-email/versions/latest |
| 42 | + env: 'SA_EMAIL' |
| 43 | + - versionName: projects/$PROJECT_ID/secrets/kms_resource_path/versions/latest |
| 44 | + env: 'KMS_RESOURCE_PATH' |
| 45 | + - versionName: projects/$PROJECT_ID/secrets/GoogleJDBCServiceAccountSecret/versions/latest |
| 46 | + env: 'SA_SECRET' |
0 commit comments