-
Notifications
You must be signed in to change notification settings - Fork 0
/
cloudbuild.yaml
69 lines (68 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
steps:
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk:slim"
args:
- "gcloud"
- "functions"
- "deploy"
- "text-to-speech"
- "--gen2"
- "--region=us-central1"
- "--runtime=nodejs18"
- "--service-account=cloudfunctions@chattalker.iam.gserviceaccount.com"
- "--set-env-vars=PROJECT_ID=$PROJECT_ID"
- "--trigger-http"
waitFor: ["-"]
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk:slim"
args:
- "gcloud"
- "functions"
- "deploy"
- "youtube-oauth2callback"
- "--gen2"
- "--region=us-central1"
- "--runtime=nodejs18"
- "--service-account=cloudfunctions@chattalker.iam.gserviceaccount.com"
- "--set-env-vars=PROJECT_ID=$PROJECT_ID"
- "--trigger-http"
waitFor: ["-"]
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk:slim"
args:
- "gcloud"
- "functions"
- "deploy"
- "youtube-oauth2refresh"
- "--gen2"
- "--region=us-central1"
- "--runtime=nodejs18"
- "--service-account=cloudfunctions@chattalker.iam.gserviceaccount.com"
- "--set-env-vars=PROJECT_ID=$PROJECT_ID"
- "--trigger-http"
waitFor: ["-"]
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk:slim"
args:
- "gcloud"
- "functions"
- "deploy"
- "authenticate-with-token"
- "--gen2"
- "--region=us-central1"
- "--runtime=nodejs18"
- "--service-account=cloudfunctions@chattalker.iam.gserviceaccount.com"
- "--set-env-vars=PROJECT_ID=$PROJECT_ID"
- "--trigger-http"
waitFor: ["-"]
- name: "node:18-bullseye-slim"
args:
- "npm"
- "ci"
waitFor: ["-"]
id: "npm ci"
- name: "node:18-bullseye-slim"
args:
- "npm"
- "run"
- "build"
- name: "gcr.io/$PROJECT_ID/firebase"
args:
- "deploy"
- "--only=hosting"