-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild.yaml
50 lines (47 loc) · 1.25 KB
/
cloudbuild.yaml
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/gcloud'
args:
- 'functions'
- 'deploy'
- 'WebHook'
- '--entry-point=WebHook'
- '--region=asia-northeast1'
- '--runtime=go111'
- '--timeout=30'
- '--trigger-http'
- '--env-vars-file=env/.env.yaml'
- name: 'gcr.io/cloud-builders/gcloud'
args:
- 'functions'
- 'deploy'
- 'ParentFunctions'
- '--entry-point=Forking'
- '--region=asia-northeast1'
- '--runtime=go111'
- '--timeout=30'
- '--trigger-topic=parent-test'
- '--env-vars-file=env/.env.yaml'
- name: 'gcr.io/cloud-builders/gcloud'
args:
- 'functions'
- 'deploy'
- 'ChildFunctions'
- '--entry-point=Forking'
- '--region=asia-northeast1'
- '--retry'
- '--runtime=go111'
- '--timeout=30'
- '--trigger-topic=child-test'
- '--env-vars-file=env/.env.yaml'
- '--memory=512MB' # 処理によって可変
- name: 'gcr.io/cloud-builders/gcloud'
args:
- 'functions'
- 'deploy'
- 'LiffCompact'
- '--entry-point=LiffCompact'
- '--region=asia-northeast1'
- '--runtime=go111'
- '--timeout=30'
- '--trigger-http'
- '--env-vars-file=env/.env.yaml'