forked from notional-labs/multisig-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cloudbuild.yaml
129 lines (129 loc) · 5.42 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
steps:
- name: gcr.io/cloud-builders/docker
args:
- build
- '--no-cache'
- '--build-arg'
- 'NEXT_PUBLIC_HOST=$_NEXT_PUBLIC_HOST'
- '--build-arg'
- 'NEXT_PUBLIC_FAUNADB_SECRET=$_NEXT_PUBLIC_FAUNADB_SECRET'
- '--build-arg'
- 'NEXT_PUBLIC_CHAIN_ID=$_NEXT_PUBLIC_CHAIN_ID'
- '--build-arg'
- 'NEXT_PUBLIC_CHAIN_NAME=$_NEXT_PUBLIC_CHAIN_NAME'
- '--build-arg'
- 'NEXT_PUBLIC_RPC=$_NEXT_PUBLIC_RPC'
- '--build-arg'
- 'NEXT_PUBLIC_REST=$_NEXT_PUBLIC_REST'
- '--build-arg'
- 'NEXT_PUBLIC_BIP44_COINTYPE=$_NEXT_PUBLIC_BIP44_COINTYPE'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_ACC_ADDR=$_NEXT_PUBLIC_BECH32_PREFIX_ACC_ADDR'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_ACC_PUB=$_NEXT_PUBLIC_BECH32_PREFIX_ACC_PUB'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_VAL_ADDR=$_NEXT_PUBLIC_BECH32_PREFIX_VAL_ADDR'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_VAL_PUB=$_NEXT_PUBLIC_BECH32_PREFIX_VAL_PUB'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_CONS_ADDR=$_NEXT_PUBLIC_BECH32_PREFIX_CONS_ADDR'
- '--build-arg'
- 'NEXT_PUBLIC_BECH32_PREFIX_CONS_PUB=$_NEXT_PUBLIC_BECH32_PREFIX_CONS_PUB'
- '--build-arg'
- 'NEXT_PUBLIC_CURRENCIES_COIN_DENOM=$_NEXT_PUBLIC_CURRENCIES_COIN_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_CURRENCIES_COIN_MINIMAL_DENOM=$_NEXT_PUBLIC_CURRENCIES_COIN_MINIMAL_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_CURRENCIES_COIN_DECIMALS=$_NEXT_PUBLIC_CURRENCIES_COIN_DECIMALS'
- '--build-arg'
- 'NEXT_PUBLIC_CURRENCIES_COIN_GECKO_ID=$_NEXT_PUBLIC_CURRENCIES_COIN_GECKO_ID'
- '--build-arg'
- 'NEXT_PUBLIC_FEE_CURRENCIES_COIN_DENOM=$_NEXT_PUBLIC_FEE_CURRENCIES_COIN_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_FEE_CURRENCIES_COIN_MINIMAL_DENOM=$_NEXT_PUBLIC_FEE_CURRENCIES_COIN_MINIMAL_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_FEE_CURRENCIES_COIN_DECIMALS=$_NEXT_PUBLIC_FEE_CURRENCIES_COIN_DECIMALS'
- '--build-arg'
- 'NEXT_PUBLIC_FEE_CURRENCIES_COIN_GECKO_ID=$_NEXT_PUBLIC_FEE_CURRENCIES_COIN_GECKO_ID'
- '--build-arg'
- 'NEXT_PUBLIC_STAKE_CURRENCY_COIN_DENOM=$_NEXT_PUBLIC_STAKE_CURRENCY_COIN_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_STAKE_CURRENCY_COIN_MINIMAL_DENOM=$_NEXT_PUBLIC_STAKE_CURRENCY_COIN_MINIMAL_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_STAKE_CURRENCY_COIN_DECIMALS=$_NEXT_PUBLIC_STAKE_CURRENCY_COIN_DECIMALS'
- '--build-arg'
- 'NEXT_PUBLIC_STAKE_CURRENCY_COIN_GECKO_ID=$_NEXT_PUBLIC_STAKE_CURRENCY_COIN_GECKO_ID'
- '--build-arg'
- 'NEXT_PUBLIC_GAS_PRICE_STEP_LOW=$_NEXT_PUBLIC_GAS_PRICE_STEP_LOW'
- '--build-arg'
- 'NEXT_PUBLIC_GAS_PRICE_STEP_MEDIUM=$_NEXT_PUBLIC_GAS_PRICE_STEP_MEDIUM'
- '--build-arg'
- 'NEXT_PUBLIC_GAS_PRICE_STEP_HIGH=$_NEXT_PUBLIC_GAS_PRICE_STEP_HIGH'
- '--build-arg'
- 'NEXT_PUBLIC_GAS_PRICE_STEP_AVERAGE=$_NEXT_PUBLIC_GAS_PRICE_STEP_AVERAGE'
- '--build-arg'
- 'NEXT_PUBLIC_DENOM=$_NEXT_PUBLIC_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_DISPLAY_DENOM=$_NEXT_PUBLIC_DISPLAY_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_BASE_DENOM=$_NEXT_PUBLIC_BASE_DENOM'
- '--build-arg'
- 'NEXT_PUBLIC_BASE_EXPONENT=$_NEXT_PUBLIC_BASE_EXPONENT'
- '--build-arg'
- 'NEXT_PUBLIC_NAME=$_NEXT_PUBLIC_NAME'
- '--build-arg'
- 'NEXT_PUBLIC_PREFIX=$_NEXT_PUBLIC_PREFIX'
- '--build-arg'
- 'NEXT_PUBLIC_COLOR=$_NEXT_PUBLIC_COLOR'
- '--build-arg'
- 'NEXT_PUBLIC_EXPLORER=$_NEXT_PUBLIC_EXPLORER'
- '--build-arg'
- 'NEXT_PUBLIC_TX_EXPLORER=$_NEXT_PUBLIC_TX_EXPLORER'
- '--build-arg'
- 'NEXT_PUBLIC_VAL_EXPLORER=$_NEXT_PUBLIC_VAL_EXPLORER'
- '--build-arg'
- 'NEXT_PUBLIC_GOV_EXPLORER=$_NEXT_PUBLIC_GOV_EXPLORER'
- '--build-arg'
- 'NEXT_PUBLIC_LOGO=$_NEXT_PUBLIC_LOGO'
- '--build-arg'
- 'NEXT_PUBLIC_HYPERLIN=$_NEXT_PUBLIC_HYPERLINK'
- '-t'
- '$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/$_SERVICE_NAME:$COMMIT_SHA'
- .
- '-f'
- Dockerfile
id: Build
- name: gcr.io/cloud-builders/docker
args:
- push
- '$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/$_SERVICE_NAME:$COMMIT_SHA'
id: Push
- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk:slim'
args:
- run
- services
- update
- $_SERVICE_NAME
- '--platform=managed'
- '--image=$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/$_SERVICE_NAME:$COMMIT_SHA'
- >-
--labels=managed-by=gcp-cloud-build-deploy-cloud-run,commit-sha=$COMMIT_SHA,gcb-build-id=$BUILD_ID,gcb-trigger-id=$_TRIGGER_ID,$_LABELS
- '--region=$_DEPLOY_REGION'
- '--quiet'
id: Deploy
entrypoint: gcloud
images:
- '$_GCR_HOSTNAME/$PROJECT_ID/$REPO_NAME/$_SERVICE_NAME:$COMMIT_SHA'
options:
substitutionOption: ALLOW_LOOSE
substitutions:
_GCR_HOSTNAME: us.gcr.io
_PLATFORM: managed
_SERVICE_NAME: multisig-ui-pylons
_DEPLOY_REGION: us-central1
_LABELS: gcb-trigger-id=1632af3d-db94-4464-bd90-ca8cdb6902b0
_TRIGGER_ID: 1632af3d-db94-4464-bd90-ca8cdb6902b0
tags:
- gcp-cloud-build-deploy-cloud-run
- gcp-cloud-build-deploy-cloud-run-managed
- multisig-ui-pylons