Skip to content

Commit c6d721f

Browse files
committed
chore: update versions
1 parent 13f7f3b commit c6d721f

File tree

1 file changed

+18
-4
lines changed

1 file changed

+18
-4
lines changed

.cl/cloudbuild.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
# limitations under the License.
1414

1515
steps:
16-
- id: run integration tests ${_VERSION}
17-
name: python:${_VERSION}
16+
- id: run integration tests ${_EARLIEST_PYTHON_VERSION}
17+
name: python:${_EARLIES_PYTHON_VERSION}
1818
entrypoint: bash
1919
env:
2020
- "IP_TYPE=private"
@@ -23,7 +23,19 @@ steps:
2323
- "-c"
2424
- |
2525
pip install nox
26-
nox -s system-${_VERSION}
26+
nox -s system-${_EARLIEST_PYTHON_VERSION}
27+
waitFor: ["-"]
28+
- id: run integration tests ${_LATEST_PYTHON_VERSION}
29+
name: python:${_LATEST_PYTHON_VERSION}
30+
entrypoint: bash
31+
env:
32+
- "IP_TYPE=private"
33+
secretEnv: ["MYSQL_CONNECTION_NAME", "MYSQL_USER", "MYSQL_IAM_USER", "MYSQL_PASS", "MYSQL_DB", "POSTGRES_CONNECTION_NAME", "POSTGRES_USER", "POSTGRES_IAM_USER", "POSTGRES_PASS", "POSTGRES_DB", "POSTGRES_CAS_CONNECTION_NAME", "POSTGRES_CAS_PASS", "POSTGRES_CUSTOMER_CAS_CONNECTION_NAME", "POSTGRES_CUSTOMER_CAS_PASS", "POSTGRES_CUSTOMER_CAS_PASS_VALID_DOMAIN_NAME","SQLSERVER_CONNECTION_NAME", "SQLSERVER_USER", "SQLSERVER_PASS", "SQLSERVER_DB"]
34+
args:
35+
- "-c"
36+
- |
37+
pip install nox
38+
nox -s system-${_LATEST_PYTHON_VERSION}
2739
waitFor: ["-"]
2840
availableSecrets:
2941
secretManager:
@@ -66,7 +78,9 @@ availableSecrets:
6678
- versionName: 'projects/$PROJECT_ID/secrets/SQLSERVER_DB/versions/latest'
6779
env: 'SQLSERVER_DB'
6880
substitutions:
69-
_VERSION: ["3.13","3.9"]
81+
_LATEST_PYTHON_VERSION: '3.13'
82+
_EARLIEST_PYTHON_VERSION: '3.9'
83+
7084
options:
7185
dynamicSubstitutions: true
7286
pool:

0 commit comments

Comments
 (0)