Skip to content

Commit b58d960

Browse files
author
Micah Zoltu
authored
Merge pull request #511 from AugurProject/micah
Minor deployment fixes and QoL improvements (for me).
2 parents 80b54f7 + 154303e commit b58d960

File tree

3 files changed

+42
-1
lines changed

3 files changed

+42
-1
lines changed

support/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ RUN npm run build:interfaces
4646

4747

4848
COPY ./support/deploy/deploy.sh /app/support/deploy/deploy.sh
49+
COPY ./support/deploy/run.sh /app/support/deploy/run.sh
4950
COPY ./support/artifacts/run.sh /app/support/artifacts/run.sh
5051
COPY ./support/.npmrc /root/.npmrc.deploy
5152

support/deploy/run.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ case $2 in
1414
gasPrice=20
1515
;;
1616
"rinkeby")
17-
host="rinkeby.augur.net"
17+
host="rinkeby.ethereum.nodes.augur.net"
18+
port="80"
1819
privateKey=$RINKEBY_PRIVATE_KEY
1920
gasPrice=20
2021
;;
@@ -30,11 +31,13 @@ case $2 in
3031
;;
3132
"clique")
3233
host="clique.ethereum.nodes.augur.net"
34+
port="80"
3335
privateKey="fae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a"
3436
gasPrice=1
3537
;;
3638
"aura")
3739
host="aura.ethereum.nodes.augur.net"
40+
port="80"
3841
privateKey="fae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a"
3942
gasPrice=1
4043
;;
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: "3.2"
2+
services:
3+
clique-deploy:
4+
image: augurproject/augur-core:latest
5+
build:
6+
context: ../../../
7+
dockerfile: support/Dockerfile
8+
entrypoint: [ "npx", "mocha", "output/tests-integration/**/*.js", "--no-timeouts", "--require", "source-map-support/register"]
9+
environment:
10+
- ETHEREUM_HOST=clique.ethereum.nodes.augur.net
11+
- ETHEREUM_PORT=80
12+
- ETHEREUM_GAS_PRICE_IN_NANOETH=1
13+
- ETHEREUM_PRIVATE_KEY=0xfae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a
14+
15+
aura-deploy:
16+
image: augurproject/augur-core:latest
17+
build:
18+
context: ../../../
19+
dockerfile: support/Dockerfile
20+
entrypoint: [ "npx", "mocha", "output/tests-integration/**/*.js", "--no-timeouts", "--require", "source-map-support/register"]
21+
environment:
22+
- ETHEREUM_HOST=aura.ethereum.nodes.augur.net
23+
- ETHEREUM_PORT=80
24+
- ETHEREUM_GAS_PRICE_IN_NANOETH=1
25+
- ETHEREUM_PRIVATE_KEY=0xfae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a
26+
27+
instantseal-deploy:
28+
image: augurproject/augur-core:latest
29+
build:
30+
context: ../../../
31+
dockerfile: support/Dockerfile
32+
entrypoint: [ "npx", "mocha", "output/tests-integration/**/*.js", "--no-timeouts", "--require", "source-map-support/register"]
33+
environment:
34+
- ETHEREUM_HOST=instantseal.ethereum.nodes.augur.net
35+
- ETHEREUM_PORT=80
36+
- ETHEREUM_GAS_PRICE_IN_NANOETH=1
37+
- ETHEREUM_PRIVATE_KEY=0xfae42052f82bed612a724fec3632f325f377120592c75bb78adfcceae6470c5a

0 commit comments

Comments
 (0)