shared_testnet: lower RAM usage during build
This commit is contained in:
parent
ea57852359
commit
41a4e47857
|
@ -26,7 +26,7 @@ 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]
|
||||
|
||||
# faster way to pull the Docker image and recreate the containers
|
||||
# faster way to pull the Docker image and recreate the containers (this also stops any running container)
|
||||
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 pull; docker-compose --compatibility up --no-start; echo '---'" | sed 's/\\n/\n/g'
|
||||
|
||||
# build beacon_node in an external volume
|
||||
|
|
|
@ -82,8 +82,9 @@ if [[ "$BUILD" == "1" ]]; then
|
|||
git config pull.rebase false
|
||||
git checkout devel
|
||||
git pull
|
||||
make -j$(nproc) update
|
||||
make LOG_LEVEL="TRACE" NIMFLAGS="-d:insecure -d:testnet_servers_image" SCRIPT_PARAMS="--skipGoerliKey --writeLogFile=false --buildOnly" ${NETWORK}
|
||||
# don't use too much RAM
|
||||
make update
|
||||
make LOG_LEVEL="TRACE" NIMFLAGS="-d:insecure -d:testnet_servers_image --parallelBuild:1" SCRIPT_PARAMS="--skipGoerliKey --writeLogFile=false --buildOnly" ${NETWORK}
|
||||
fi
|
||||
|
||||
#######
|
||||
|
|
Loading…
Reference in New Issue