Skip to content

Commit

Permalink
Upgrade docker images on testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKim20 committed Jul 31, 2023
1 parent 74d30f9 commit 7b72ec7
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 42 deletions.
36 changes: 18 additions & 18 deletions networks/testnet/agora.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--datadir=/root/chain/el ^
init /root/config/el/genesis.json

Expand All @@ -44,7 +44,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--datadir=/root/chain/el ^
init /root/config/el/genesis.json

Expand All @@ -54,7 +54,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-p 6060:6060 -p 8545:8545 -p 30303:30303 -p 30303:30303/udp ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
--syncmode=full --metrics --metrics.addr=0.0.0.0 --metrics.port=6060
Expand All @@ -64,7 +64,7 @@ if "%~1"=="el-node" (
docker run -it ^
-v %cd%\root:/root ^
--name el-node-attach --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
attach /root/chain/el/geth.ipc
Expand All @@ -86,7 +86,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-p 3500:3500 -p 4000:4000 -p 8080:8080 -p 13000:13000 -p 12000:12000/udp ^
--name cl-node --rm ^
bosagora/agora-cl-node:v2.0.0 ^
bosagora/agora-cl-node:v2.0.1 ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
--config-file=/root/config/cl/config.yaml ^
--p2p-host-ip=%P2P_HOST_IP% ^
Expand Down Expand Up @@ -129,7 +129,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-v %cd%\..\..\:/agora-chain ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
accounts import ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
--keys-dir=/agora-chain/!DATA_FOLDER! ^
Expand All @@ -142,7 +142,7 @@ if "%~1"=="el-node" (
-p 8081:8081 ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
--config-file=/root/config/cl/config.yaml ^
--datadir=/root/chain/cl/ ^
Expand All @@ -168,7 +168,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-v %cd%\..\..\:/agora-chain ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
accounts import ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -181,7 +181,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
accounts list ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -193,7 +193,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
-v %cd%\..\..\:/agora-chain ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
accounts delete ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -218,7 +218,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
accounts backup ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand Down Expand Up @@ -292,7 +292,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
slashing-protection-history export ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -314,7 +314,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
slashing-protection-history import ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand Down Expand Up @@ -345,7 +345,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
wallet create ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -365,7 +365,7 @@ if "%~1"=="el-node" (
-v %cd%\root:/root ^
--network host ^
--name cl-validator --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
wallet recover ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand Down Expand Up @@ -513,7 +513,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name el-node --rm ^
bosagora/agora-el-node:v2.0.0 ^
bosagora/agora-el-node:v2.0.1 ^
--config=/root/config/el/config.toml ^
--datadir=/root/chain/el ^
!args!
Expand All @@ -525,7 +525,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name cl-node-exec --rm ^
bosagora/agora-cl-node:v2.0.0 ^
bosagora/agora-cl-node:v2.0.1 ^
!args! ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml ^
Expand All @@ -538,7 +538,7 @@ if "%~1"=="el-node" (
-v %cd%\..\..\:/agora-chain ^
--network host ^
--name cl-validator-exec --rm ^
bosagora/agora-cl-validator:v2.0.0 ^
bosagora/agora-cl-validator:v2.0.1 ^
!args! ^
--accept-terms-of-use ^
--chain-config-file=/root/config/cl/chain-config.yaml
Expand Down
36 changes: 18 additions & 18 deletions networks/testnet/agora.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
init \
/root/config/el/genesis.json
Expand All @@ -55,7 +55,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
init \
/root/config/el/genesis.json
Expand All @@ -66,7 +66,7 @@ if [ "$1" = "el-node" ]; then
-v "$(pwd)"/root:/root \
-p 6060:6060 -p 8545:8545 -p 30303:30303 -p 30303:30303/udp \
--name el-node --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--config=/root/config/el/config.toml \
--datadir=/root/chain/el \
--syncmode=full --metrics --metrics.addr=0.0.0.0 --metrics.port=6060
Expand All @@ -76,7 +76,7 @@ if [ "$1" = "el-node" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name el-node-attach --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--config=/root/config/el/config.toml \
--datadir=/root/chain/el \
attach /root/chain/el/geth.ipc
Expand Down Expand Up @@ -104,7 +104,7 @@ elif [ "$1" = "cl-node" ]; then
-v "$(pwd)"/root:/root \
-p 3500:3500 -p 4000:4000 -p 8080:8080 -p 13000:13000 -p 12000:12000/udp \
--name cl-node --rm \
bosagora/agora-cl-node:v2.0.0 \
bosagora/agora-cl-node:v2.0.1 \
--chain-config-file=/root/config/cl/chain-config.yaml \
--config-file=/root/config/cl/config.yaml \
--p2p-host-ip="$(curl -s https://ifconfig.me/ip)" \
Expand Down Expand Up @@ -155,7 +155,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/root:/root \
-v "$(pwd)"/../../:/agora-chain \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
accounts import \
--chain-config-file=/root/config/cl/chain-config.yaml \
--keys-dir=/agora-chain/"$DATA_FOLDER" \
Expand All @@ -168,7 +168,7 @@ elif [ "$1" = "validator" ]; then
-p 8081:8081 \
--network host \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
--chain-config-file=/root/config/cl/chain-config.yaml \
--config-file=/root/config/cl/config.yaml \
--datadir=/root/chain/cl/ \
Expand Down Expand Up @@ -202,7 +202,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/root:/root \
-v "$(pwd)"/../../:/agora-chain \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
accounts import \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand All @@ -215,7 +215,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/root:/root \
--network host \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
accounts list \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand All @@ -227,7 +227,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/root:/root \
-v "$(pwd)"/../../:/agora-chain \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
accounts delete \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand All @@ -254,7 +254,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/../../:/agora-chain \
--network host \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
accounts backup \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand Down Expand Up @@ -338,7 +338,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/../../:/agora-chain \
--network host \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
slashing-protection-history export \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand Down Expand Up @@ -366,7 +366,7 @@ elif [ "$1" = "validator" ]; then
-v "$(pwd)"/../../:/agora-chain \
--network host \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
slashing-protection-history import \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand Down Expand Up @@ -405,7 +405,7 @@ elif [ "$1" = "validator" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
wallet create \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand All @@ -424,7 +424,7 @@ elif [ "$1" = "validator" ]; then
docker run -it \
-v "$(pwd)"/root:/root \
--name cl-validator --rm \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
wallet recover \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand Down Expand Up @@ -614,7 +614,7 @@ elif [ "$1" = "exec" ]; then
-v "$(pwd)"/../../:/agora-chain \
--network host \
--name el-node-exec --rm \
bosagora/agora-el-node:v2.0.0 \
bosagora/agora-el-node:v2.0.1 \
--datadir=/root/chain/el \
--config=/root/config/el/config.toml \
"$@"
Expand All @@ -628,7 +628,7 @@ elif [ "$1" = "exec" ]; then
--network host \
--name cl-node-exec --rm \
--platform linux/amd64 \
bosagora/agora-cl-node:v2.0.0 \
bosagora/agora-cl-node:v2.0.1 \
"$@" \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml \
Expand All @@ -643,7 +643,7 @@ elif [ "$1" = "exec" ]; then
--network host \
--name cl-validator-exec --rm \
--platform linux/amd64 \
bosagora/agora-cl-validator:v2.0.0 \
bosagora/agora-cl-validator:v2.0.1 \
"$@" \
--accept-terms-of-use \
--chain-config-file=/root/config/cl/chain-config.yaml
Expand Down
6 changes: 3 additions & 3 deletions networks/testnet/docker-compose-monitoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.3'
services:
agora-el-node:
container_name: agora-el-node
image: bosagora/agora-el-node:v2.0.0
image: bosagora/agora-el-node:v2.0.1
ports:
- "6060:6060"
- "8545:8545"
Expand All @@ -26,7 +26,7 @@ services:

agora-cl-node:
container_name: agora-cl-node
image: bosagora/agora-cl-node:v2.0.0
image: bosagora/agora-cl-node:v2.0.1
ports:
- "3500:3500"
- "4000:4000"
Expand Down Expand Up @@ -55,7 +55,7 @@ services:

agora-cl-validator:
container_name: agora-cl-validator
image: bosagora/agora-cl-validator:v2.0.0
image: bosagora/agora-cl-validator:v2.0.1
ports:
- "8081:8081"
volumes:
Expand Down
6 changes: 3 additions & 3 deletions networks/testnet/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3.3'
services:
agora-el-node:
container_name: agora-el-node
image: bosagora/agora-el-node:v2.0.0
image: bosagora/agora-el-node:v2.0.1
ports:
- "6060:6060"
- "8545:8545"
Expand All @@ -26,7 +26,7 @@ services:

agora-cl-node:
container_name: agora-cl-node
image: bosagora/agora-cl-node:v2.0.0
image: bosagora/agora-cl-node:v2.0.1
ports:
- "3500:3500"
- "4000:4000"
Expand Down Expand Up @@ -55,7 +55,7 @@ services:

agora-cl-validator:
container_name: agora-cl-validator
image: bosagora/agora-cl-validator:v2.0.0
image: bosagora/agora-cl-validator:v2.0.1
ports:
- "8081:8081"
volumes:
Expand Down

0 comments on commit 7b72ec7

Please sign in to comment.