Skip to content

Commit bebb2f2

Browse files
committed
chore: update cloudbuild
1 parent 4074fd3 commit bebb2f2

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.cl/cloudbuild.yaml

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

1515
steps:
16-
- id: install-nox
17-
name: python:3.10
18-
entrypoint: pip
19-
args: ["install", "nox"]
2016
- id: run-tests
2117
name: python:3.10
22-
entrypoint: nox
23-
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"]
18+
entrypoint: bash
2419
args:
25-
- -s
26-
- "system-3.10"
20+
- "-c"
21+
- |
22+
export PATH="$HOME/.local/bin:$PATH" && nox -s "system-3.10"
2723
availableSecrets:
2824
secretManager:
2925
- versionName: 'projects/$PROJECT_ID/secrets/MYSQL_CONNECTION_NAME/versions/latest'

0 commit comments

Comments
 (0)