forked from canada-ca/tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
29 lines (25 loc) · 847 Bytes
/
cloudbuild.yaml
File metadata and controls
29 lines (25 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
steps:
- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
id: install-client-deps
dir: clients/python
entrypoint: pipenv
args: ['sync', '-d', '--bare']
env:
- PIPENV_NOSPIN=TRUE
- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
id: lint-client
dir: clients/python
entrypoint: /bin/sh
args: ['-c', 'pipenv run black --check tracker_client/ && pipenv run bandit -r tracker_client/']
- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
id: test-client
dir: clients/python
entrypoint: pipenv
args: ['run', 'pytest', '-m', 'not online']
env:
- TRACKER_UNAME=$_TRACKER_UNAME
- TRACKER_PASS=$_TRACKER_PASS
- PYTHONPATH=$_PYTHONPATH
timeout: 1200s
options:
machineType: 'E2_HIGHCPU_8'