-
Notifications
You must be signed in to change notification settings - Fork 0
/
skaffold.yaml
88 lines (84 loc) · 2.55 KB
/
skaffold.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
apiVersion: skaffold/v2beta29
kind: Config
build:
artifacts:
- image: public.ecr.aws/k2z7t6t6/metaplex-rpc-load-generator
context: .
docker:
dockerfile: Load.Dockerfile
- image: public.ecr.aws/k2z7t6t6/metaplex-rpc-api
context: .
docker:
dockerfile: Api.Dockerfile
- image: public.ecr.aws/k2z7t6t6/metaplex-rpc-ingest
context: .
docker:
dockerfile: Ingest.Dockerfile
- image: public.ecr.aws/k2z7t6t6/metaplex-rpc-migrator
context: .
docker:
dockerfile: Migrator.Dockerfile
- image: public.ecr.aws/k2z7t6t6/metaplex-rpc-proxy
context: .
docker:
dockerfile: Proxy.Dockerfile
deploy:
helm:
flags:
upgrade: ["--timeout", "60m"]
install: ["--timeout", "60m"]
releases:
- name: das-ingester
chartPath: helm/ingest
valuesFiles:
- ./helm/ingest/values.yaml
setValues:
image: public.ecr.aws/k2z7t6t6/metaplex-rpc-ingest
load.image: public.ecr.aws/k2z7t6t6/metaplex-rpc-load-generator
migrator.image: public.ecr.aws/k2z7t6t6/metaplex-rpc-migrator
setValueTemplates:
ingest.db_url: '{{.DATABASE_URL}}'
ingest.redis_url: '{{.REDIS_URL}}'
ingest.rpc_url: '{{.RPC_URL}}'
load.rpc_url: '{{.RPC_URL}}'
load.seed: '{{.LOAD_SEED}}'
metrics.data_dog_api_key: '{{.DATA_DOG_API}}'
migrator.image: 'public.ecr.aws/k2z7t6t6/metaplex-rpc-migrator:{{.DEPLOY_VERSION}}'
- name: das-api
chartPath: helm/api
valuesFiles:
- ./helm/api/values.yaml
setValues:
image: public.ecr.aws/k2z7t6t6/metaplex-rpc-api
proxy.image: public.ecr.aws/k2z7t6t6/metaplex-rpc-proxy
setValueTemplates:
api.db_url: '{{.DATABASE_URL}}'
api.reader_db_url: '{{.READER_DATABASE_URL}}'
api.redis_url: '{{.REDIS_URL}}'
metrics.data_dog_api_key: '{{.DATA_DOG_API}}'
proxy.auth: '{{.PROXY_AUTH}}'
proxy.host: '{{.PROXY_HOST}}'
profiles:
- name: ci
patches:
- op: add
path: /build/tagPolicy
value:
envTemplate:
template: '{{.DEPLOY_VERSION}}'
- name: devnet
patches:
- op: add
path: /deploy/helm/releases/0/valuesFiles/1
value: ./helm/ingester-values-devnet.yaml
- op: add
path: /deploy/helm/releases/1/valuesFiles/1
value: ./helm/api-values-devnet.yaml
- name: mainnet
patches:
- op: add
path: /deploy/helm/releases/0/valuesFiles/1
value: ./helm/ingester-values-mainnet.yaml
- op: add
path: /deploy/helm/releases/1/valuesFiles/1
value: ./helm/api-values-mainnet.yaml