Skip to content

Commit

Permalink
Merge branch 'production' of https://github.com/rysk-finance/rysk-sub…
Browse files Browse the repository at this point in the history
…graph-arbitrum into production
  • Loading branch information
MeanBoyCousin committed Nov 7, 2023
2 parents 5a1491a + 4254ddc commit 8afcefb
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"@graphprotocol/graph-ts": "^0.31.0"
},
"devDependencies": {
"@0xgraph/cli": "^0.1.1",
"@goldskycom/cli": "^2.4.1",
"@graphprotocol/graph-cli": "^0.60.0",
"matchstick-as": "^0.6.0",
Expand Down
20 changes: 19 additions & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,36 @@ flags=${@:2}

# Deploy TheGraph only on mainnet.
if [[ $deployment_name == arbitrum-one ]]; then
echo Deploying to TheGraph...

graph \
deploy rysk-finance/$deployment_name \
--product hosted-service \
--deploy-key $THE_GRAPH_TOKEN
fi

# Deploy Goldsky.
echo Deploying to Goldsky...

goldsky \
subgraph deploy $deployment \
$flags \
--token $GOLDSKY_TOKEN

if [[ $(printenv CI) == 'true' ]]; then
# Deploy Ormi.
echo Deploying to Ormi...

0xgraph \
create $deployment_name \
--node http://api.0xgraph.xyz/deploy/ \
--access-token $ORMI_TOKEN

0xgraph \
deploy $deployment_name \
--version-label $deployment_version \
--deploy-key $ORMI_TOKEN

if [[ $CI == 'true' ]]; then
exit 0
fi

Expand Down
34 changes: 34 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@
# yarn lockfile v1


"@0xgraph/cli@^0.1.1":
version "0.1.1"
resolved "https://registry.yarnpkg.com/@0xgraph/cli/-/cli-0.1.1.tgz#5d295a83899bf42cd835f357ead50a33eedf15b9"
integrity sha512-r1Ld1dRd711UncXfm1jj5dmQXA+5Plyi7HrTzE115d4JXAANNVaxrEcp+i3pwGujLak7JuUai+vhnWBKpp0iZg==
dependencies:
"@float-capital/float-subgraph-uncrashable" "^0.0.0-alpha.4"
"@oclif/core" "2.8.6"
"@oclif/plugin-autocomplete" "^2.3.6"
"@oclif/plugin-not-found" "^2.4.0"
"@whatwg-node/fetch" "^0.8.4"
assemblyscript "0.19.23"
binary-install-raw "0.0.13"
chalk "3.0.0"
chokidar "3.5.3"
debug "4.3.4"
docker-compose "0.23.19"
dockerode "2.5.8"
fs-extra "9.1.0"
glob "9.3.5"
gluegun "5.1.2"
graphql "15.5.0"
immutable "4.2.1"
ipfs-http-client "55.0.0"
jayson "4.0.0"
js-yaml "3.14.1"
prettier "1.19.1"
request "2.88.2"
semver "7.4.0"
sync-request "6.1.0"
tmp-promise "3.0.3"
web3-eth-abi "1.7.0"
which "2.0.2"
yaml "1.10.2"

"@babel/code-frame@^7.0.0":
version "7.22.13"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.22.13.tgz#e3c1c099402598483b7a8c46a721d1038803755e"
Expand Down

0 comments on commit 8afcefb

Please sign in to comment.