2020-08-15 16:38:10 -07:00
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: eth-devnet
|
|
|
|
labels:
|
|
|
|
app: eth-devnet
|
|
|
|
spec:
|
|
|
|
ports:
|
|
|
|
- port: 8545
|
|
|
|
name: rpc
|
|
|
|
protocol: TCP
|
|
|
|
clusterIP: None
|
|
|
|
selector:
|
|
|
|
app: eth-devnet
|
|
|
|
---
|
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: StatefulSet
|
|
|
|
metadata:
|
|
|
|
name: eth-devnet
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: eth-devnet
|
|
|
|
serviceName: eth-devnet
|
|
|
|
replicas: 1
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: eth-devnet
|
|
|
|
spec:
|
|
|
|
terminationGracePeriodSeconds: 1
|
|
|
|
containers:
|
2024-04-04 08:44:02 -07:00
|
|
|
- name: anvil
|
2020-08-15 16:38:10 -07:00
|
|
|
image: eth-node
|
|
|
|
command:
|
2024-04-04 08:44:02 -07:00
|
|
|
- anvil
|
|
|
|
- --silent
|
|
|
|
- --mnemonic=myth like bonus scare over problem client lizard pioneer submit female collect
|
|
|
|
- --block-time=1
|
2020-08-15 16:38:10 -07:00
|
|
|
- --host=0.0.0.0
|
2024-04-04 08:44:02 -07:00
|
|
|
- --accounts=13
|
|
|
|
- --chain-id=1337
|
2020-08-15 16:38:10 -07:00
|
|
|
ports:
|
|
|
|
- containerPort: 8545
|
|
|
|
name: rpc
|
|
|
|
protocol: TCP
|
2020-11-27 16:33:57 -08:00
|
|
|
readinessProbe:
|
|
|
|
tcpSocket:
|
|
|
|
port: rpc
|
2020-08-17 03:11:50 -07:00
|
|
|
- name: tests
|
|
|
|
image: eth-node
|
2021-07-28 05:13:45 -07:00
|
|
|
stdin: true
|
2020-08-17 03:11:50 -07:00
|
|
|
command:
|
|
|
|
- /bin/sh
|
|
|
|
- -c
|
2024-04-11 05:46:36 -07:00
|
|
|
- "cd ../../ethereum && npm run migrate && npx truffle exec scripts/deploy_test_token.js && npx truffle exec scripts/register_all_chains.js && cd ../relayer/ethereum && npm run deploy-relayers-evm1 && nc -lkn 2000"
|
2021-09-28 02:26:31 -07:00
|
|
|
readinessProbe:
|
|
|
|
periodSeconds: 1
|
|
|
|
failureThreshold: 300
|
2023-06-13 14:01:43 -07:00
|
|
|
initialDelaySeconds: 90
|
2021-09-28 02:26:31 -07:00
|
|
|
tcpSocket:
|
|
|
|
port: 2000
|
|
|
|
---
|
2022-10-26 16:32:50 -07:00
|
|
|
|