Skip to content

Commit 4cfbf97

Browse files
committed
chore: update python version
1 parent 05c70ef commit 4cfbf97

File tree

1 file changed

+5
-15
lines changed

1 file changed

+5
-15
lines changed

.cl/cloudbuild.yaml

Lines changed: 5 additions & 15 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 3.13
17-
name: python:3.13
16+
- id: run integration tests {_VERSION}
17+
name: python:{_VERSION}
1818
entrypoint: bash
1919
env:
2020
- "IP_TYPE=private"
@@ -23,19 +23,7 @@ steps:
2323
- "-c"
2424
- |
2525
pip install nox
26-
nox -s system-3.13
27-
waitFor: ["-"]
28-
- id: run integration tests 3.9
29-
name: python:3.9
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-3.9
26+
nox -s system-{_VERSION}
3927
waitFor: ["-"]
4028
availableSecrets:
4129
secretManager:
@@ -77,6 +65,8 @@ availableSecrets:
7765
env: 'SQLSERVER_PASS'
7866
- versionName: 'projects/$PROJECT_ID/secrets/SQLSERVER_DB/versions/latest'
7967
env: 'SQLSERVER_DB'
68+
substitutions:
69+
_VERSION: ${3.13,3.9}
8070
options:
8171
dynamicSubstitutions: true
8272
pool:

0 commit comments

Comments
 (0)