shared_testnet: fix Dockerfile

This commit is contained in:
Ștefan Talpalaru 2020-06-26 23:41:19 +02:00
parent 70d468ac2b
commit f78314e43e
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
2 changed files with 13 additions and 2 deletions

View File

@ -11,5 +11,7 @@ ARG NETWORK
ENV NETWORK=${NETWORK}
STOPSIGNAL SIGINT
ENTRYPOINT ["/root/nim-beacon-chain/docker/shared_testnet/entry_point.sh"]
COPY "entry_point.sh" "/root/"
ENTRYPOINT ["/root/entry_point.sh"]

View File

@ -1,6 +1,6 @@
## local testing
From the "nim-beacon-chain" dir:
From the "nim-beacon-chain" repo (top-level dir):
```text
make -C docker/shared_testnet build
@ -13,3 +13,12 @@ docker ps
docker stop testnet2
```
Setting up the remote servers, from the "infra-nimbus" repo:
```text
git pull
ansible-galaxy install -g -f -r ansible/requirements.yml
ansible-playbook ansible/nimbus.yml -i ansible/inventory/test -t beacon-node -u YOUR_USER -K -l nimbus-slaves[5:8]
ansible nimbus-slaves[5:8] -i ansible/inventory/test -u YOUR_USER -o -m shell -a "echo; cd /docker/beacon-node-testnet2-1; docker-compose --compatibility run --rm beacon_node --build; echo '---'" | sed 's/\\n/\n/g'
```