-
Notifications
You must be signed in to change notification settings - Fork 46
/
clouddeploy.yaml
52 lines (52 loc) · 1.17 KB
/
clouddeploy.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
apiVersion: deploy.cloud.google.com/v1
kind: DeliveryPipeline
metadata:
name: 'sso-dashboard'
description: 'Deployment pipeline for sso-dashboard'
serialPipeline:
stages:
- targetId: 'dev'
profiles: ['dev']
- targetId: 'staging'
profiles: ['staging']
- targetId: 'prod'
profiles: ['prod']
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: 'dev'
description: 'Development target'
run:
location: 'projects/iam-auth0/locations/us-east1'
executionConfigs:
- usages:
- RENDER
- DEPLOY
serviceAccount: sso-dashboard-prod@iam-auth0.iam.gserviceaccount.com
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: 'staging'
description: 'Staging target'
run:
location: 'projects/iam-auth0/locations/us-east1'
executionConfigs:
- usages:
- RENDER
- DEPLOY
serviceAccount: sso-dashboard-staging@iam-auth0.iam.gserviceaccount.com
---
apiVersion: deploy.cloud.google.com/v1
kind: Target
metadata:
name: 'prod'
description: 'Production target'
run:
location: 'projects/iam-auth0/locations/us-east1'
executionConfigs:
- usages:
- RENDER
- DEPLOY
serviceAccount: sso-dashboard-prod@iam-auth0.iam.gserviceaccount.com