-
Notifications
You must be signed in to change notification settings - Fork 15
/
buildspec.yml
45 lines (45 loc) · 1.76 KB
/
buildspec.yml
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
version: 0.2
env:
variables:
BALANCER_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/beethovenx-v2-optimism'
MASTERCHEF_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/masterchefv2'
RELIQUARY_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/reliquary'
BLOCKS_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/fantom-blocks'
BEETS_BAR_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/beets-bar'
YEARN_VAULTS_ENDPOINT: 'https://api.yexporter.io/v1/chains/250/vaults/all'
SUBGRAPH_ORIG: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/beets-bar'
GAUGE_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges-optimism'
USER_SNAPSHOT_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/user-bpt-balances-fantom'
VEBALLOCKS_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-gauges'
SFTMX_SUBGRAPH: 'https://api.thegraph.com/subgraphs/name/beethovenxfi/sftmx'
phases:
install:
runtime-versions:
nodejs: 18
commands:
- yarn install
build:
commands:
- yarn generate
- yarn prisma generate
- yarn prisma migrate deploy
- yarn build
post_build:
commands:
- rm -fr node_modules
- yarn install --prod
- echo Build completed on `date`
# - echo Pushing to graph cdn
# - npx graphcdn push
cache:
paths:
- 'node_modules/**/*'
artifacts:
files:
- node_modules/**/*
- package.json
- dist/**/*
- Procfile
- cron.yaml
- .platform/**/*
- .ebextensions/**/*