forked from duxbuse/ninthage-data-analytics
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcloudbuild.yaml
60 lines (51 loc) · 1.35 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
51
52
53
54
55
56
57
58
59
60
substitutions:
_REGION: 'us-central1'
steps:
- id: Preload cloud-sdk image
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
- id: Deploy workflow_parse_lists
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- workflows
- deploy
- workflow_parse_lists
- --source=./workflow_parse_lists/workflow_parse_lists.yaml
- --location=${_REGION}
waitFor: ['Preload cloud-sdk image']
- id: Deploy function_data_ingestion
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- function_data_ingestion
- --region=${_REGION}
- --source=./function_data_ingestion/
- --trigger-bucket=tournament-lists
- --runtime=python39
waitFor: ['Preload cloud-sdk image']
- id: Deploy function-data-conversion
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- function_data_conversion
- --region=${_REGION}
- --source=./function_data_conversion/
- --trigger-http
- --runtime=python39
waitFor: ['Preload cloud-sdk image']
- id: Deploy function_upload_data_into_bigquery
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
args:
- gcloud
- functions
- deploy
- function_upload_data_into_bigquery
- --region=${_REGION}
- --source=./function_upload_data_into_bigquery/
- --trigger-http
- --runtime=python39
waitFor: ['Preload cloud-sdk image']