|
| 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 | +substitutions: |
| 22 | + _JOB_TYPE: "jdbc-integration" |
| 23 | + |
| 24 | +timeout: 2000s |
| 25 | +steps: |
| 26 | +- name: 'gcr.io/cloud-devrel-public-resources/java11' |
| 27 | + id: "IT Tests" |
| 28 | + timeout: 2000s |
| 29 | + entrypoint: 'bash' |
| 30 | + args: ['.kokoro/build.sh'] |
| 31 | + env: |
| 32 | + - 'JOB_TYPE=${_JOB_TYPE}' |
| 33 | + secretEnv: ['SA_EMAIL', 'KMS_RESOURCE_PATH', 'SA_SECRET'] |
| 34 | +availableSecrets: |
| 35 | + secretManager: |
| 36 | + - versionName: projects/$PROJECT_ID/secrets/jdbc-presubmit-sa-email/versions/latest |
| 37 | + env: 'SA_EMAIL' |
| 38 | + - versionName: projects/$PROJECT_ID/secrets/kms_resource_path/versions/latest |
| 39 | + env: 'KMS_RESOURCE_PATH' |
| 40 | + - versionName: projects/$PROJECT_ID/secrets/GoogleJDBCServiceAccountSecret/versions/latest |
| 41 | + env: 'SA_SECRET' |
0 commit comments