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
42 lines (37 loc) · 831 Bytes
/
cloudbuild.yaml
File metadata and controls
42 lines (37 loc) · 831 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
steps:
- name: 'gcr.io/cloud-builders/docker'
id: start_arango
entrypoint: /bin/sh
args:
[
'-c',
'docker run -d --network=cloudbuild -p=8529:8529 -e ARANGO_ROOT_PASSWORD=$_DB_PASS --name=arangodb arangodb/arangodb:3.12.1',
]
- name: mikewilliamson/wait-for
id: wait_arango
args: ['arangodb:8529']
- name: node:alpine
id: install
dir: scripts/domain-loader
entrypoint: npm
args: ['ci', '--no-optional']
- name: node:alpine
id: lint
dir: scripts/domain-loader
entrypoint: npm
args: ['run', lint]
- name: node:alpine
id: test
dir: scripts/domain-loader
entrypoint: npm
args: ['run', 'test']
env:
- DB_PASS=$_DB_PASS
- DB_URL=$_DB_URL
- DB_NAME=$_DB_NAME
- FILE=
- DB_USERNAME=
- HASHING_SALT=$_HASHING_SALT
timeout: 1200s
options:
machineType: 'E2_HIGHCPU_8'