merging master

This commit is contained in:
stubbsta 2024-03-14 08:36:09 +02:00
commit 0e1b858d04
No known key found for this signature in database
3 changed files with 4 additions and 2 deletions

View File

@ -56,3 +56,5 @@ It is configured using [`wakusim.env`](./wakusim.env) file, and new changes to t
The docker images used are updated using [Watchtower](https://github.com/containrrr/watchtower) as well. The docker images used are updated using [Watchtower](https://github.com/containrrr/watchtower) as well.
For details on how it works please read the [Ansible role readme file](https://github.com/status-im/infra-misc/blob/master/ansible/roles/waku-simulator/). The original deployment issue can be found [here](https://github.com/status-im/infra-nim-waku/issues/79). For details on how it works please read the [Ansible role readme file](https://github.com/status-im/infra-misc/blob/master/ansible/roles/waku-simulator/). The original deployment issue can be found [here](https://github.com/status-im/infra-nim-waku/issues/79).
The deployed branch is [deploy-wakusim](https://github.com/waku-org/waku-simulator/tree/deploy-wakusim).

View File

@ -7,7 +7,7 @@ echo "I am a gowaku node"
RETRIES=${RETRIES:=10} RETRIES=${RETRIES:=10}
while [ -z "${BOOTSTRAP_ENR}" ] && [ ${RETRIES} -ge 0 ]; do while [ -z "${BOOTSTRAP_ENR}" ] && [ ${RETRIES} -ge 0 ]; do
BOOTSTRAP_ENR=$(wget -O - --post-data='{"jsonrpc":"2.0","method":"get_waku_v2_debug_v1_info","params":[],"id":1}' --header='Content-Type:application/json' http://bootstrap:8545/ 2> /dev/null | sed 's/.*"enrUri":"\([^"]*\)".*/\1/'); BOOTSTRAP_ENR=$(wget -qO- http://bootstrap:8645/debug/v1/info --header='Content-Type:application/json' 2> /dev/null | sed 's/.*"enrUri":"\([^"]*\)".*/\1/');
echo "Bootstrap node not ready, retrying (retries left: ${RETRIES})" echo "Bootstrap node not ready, retrying (retries left: ${RETRIES})"
sleep 1 sleep 1
RETRIES=$(( $RETRIES - 1 )) RETRIES=$(( $RETRIES - 1 ))

View File

@ -87,7 +87,7 @@ exec /usr/bin/wakunode\
--dns-discovery=true\ --dns-discovery=true\
--discv5-discovery=true\ --discv5-discovery=true\
--discv5-enr-auto-update=True\ --discv5-enr-auto-update=True\
--log-level=DEBUG\ --log-level=INFO\
--metrics-server=True\ --metrics-server=True\
--metrics-server-address=0.0.0.0\ --metrics-server-address=0.0.0.0\
--discv5-bootstrap-node=${BOOTSTRAP_ENR}\ --discv5-bootstrap-node=${BOOTSTRAP_ENR}\