Skip to content

Commit

Permalink
chore: remove conflict code in docker readme
Browse files Browse the repository at this point in the history
Signed-off-by: dung5ire <[email protected]>
  • Loading branch information
dung5ire authored and arush-sal committed Jun 3, 2024
1 parent 4bfa3c9 commit e400c10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 40 deletions.
31 changes: 3 additions & 28 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,52 +102,27 @@ echo "Starting Docker container for 5irechain node"

case $command in
fullnode)
<<<<<<< HEAD
<<<<<<< HEAD
docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
=======
docker run --name 5ire"$environment" -it -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 480bfa1 (made scripts executable and fixed run issue)
=======
docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 2c4c3ce (updated readme and running docker container in detach mode)
--base-path /5ire/data --chain /5ire/specs/5ire-$environment-specRaw.json --port 30333 \
--rpc-port 9944 --pruning archive --name TestFullnode --rpc-external --rpc-cors all \
--rpc-methods Unsafe --unsafe-rpc-external --rpc-max-connections 40000 \
--bootnodes "/ip4/$bootnode_ip/tcp/30333/p2p/$bootnode_id"
;;
validator)
<<<<<<< HEAD
<<<<<<< HEAD
docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
=======
docker run --name 5ire"$environment" -it -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 480bfa1 (made scripts executable and fixed run issue)
=======

docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 2c4c3ce (updated readme and running docker container in detach mode)
--base-path /5ire/data --chain /5ire/specs/5ire-$environment-specRaw.json --port 30333 \
--rpc-port 9944 --name TestValidator --rpc-external --rpc-cors all \
--rpc-methods Unsafe --unsafe-rpc-external --validator \
--bootnodes "/ip4/$bootnode_ip/tcp/30333/p2p/$bootnode_id"
;;
archivenode)
<<<<<<< HEAD
<<<<<<< HEAD
docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
=======
docker run --name 5ire"$environment" -it -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 480bfa1 (made scripts executable and fixed run issue)
=======
docker run --name 5ire$environment -d -p 30333:30333 -p 9944:9944 5irenode:$environment \
>>>>>>> 2c4c3ce (updated readme and running docker container in detach mode)
--base-path /5ire/data --chain /5ire/specs/5ire-$environment-specRaw.json --pruning archive \
--name TestArchive --no-telemetry --bootnodes "/ip4/$bootnode_ip/tcp/30333/p2p/$bootnode_id"
;;
esac

<<<<<<< HEAD
docker logs -f 5ire$environment
=======

docker logs -f 5ire$environment
>>>>>>> 2c4c3ce (updated readme and running docker container in detach mode)

13 changes: 1 addition & 12 deletions docker/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,7 @@ while [[ $# -gt 0 ]]; do
case $1 in
-e)
environment="$2"
<<<<<<< HEAD
<<<<<<< HEAD
if [ "$environment" != "qa" ] && [ "$environment" != "thunder" ]; then
=======
if [ "$environment" != "qa" ] || [ "$environment" != "thunder" ]; then
>>>>>>> cdb6b8a (updated validator nodes flags, added scripts readme & added upload.sh)
=======
if [ "$environment" != "qa" ] && [ "$environment" != "thunder" ]; then
>>>>>>> a325111 (fixed environment check)
echo "Invalid Environment '$environment'. Only 'qa' and 'thunder' envrionments are allowed at the moment"
exit 1
fi
Expand Down Expand Up @@ -75,8 +67,5 @@ if [ "$environment" == "qa" ]; then
elif [ "$environment" == "thunder" ]; then
docker tag 5irenode$environment 5irechain/5ire-thunder-node:$TAG
docker push 5irechain/5ire-thunder-node:$TAG
<<<<<<< HEAD
fi
=======
fi
>>>>>>> cdb6b8a (updated validator nodes flags, added scripts readme & added upload.sh)

0 comments on commit e400c10

Please sign in to comment.