-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.json
50 lines (50 loc) · 1008 Bytes
/
cloudbuild.json
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
43
44
45
46
47
48
49
50
{
"steps": [
{
"name": "gcr.io/cloud-builders/npm",
"args": ["ci"],
"id": "install"
},
{
"name": "gcr.io/cloud-builders/npm",
"args": ["run-script", "build:ci"],
"id": "build"
},
{
"name": "gcr.io/cloud-builders/gcloud",
"waitFor": ["build"],
"args": [
"functions",
"deploy",
"handled-test",
"--source",
"apps/test-function/dist/",
"--entry-point",
"handler",
"--region",
"us-central1",
"--trigger-http",
"--runtime",
"nodejs10"
]
},
{
"name": "gcr.io/cloud-builders/gcloud",
"waitFor": ["build"],
"args": [
"functions",
"deploy",
"handled-test-two",
"--source",
"apps/test-function/dist/",
"--entry-point",
"handler",
"--region",
"us-central1",
"--trigger-http",
"--runtime",
"nodejs10"
]
}
]
}