[Zombienet] add upgrade test (#5970)

* add upgrade test

* fix node names

* changes from feedback

* rename bash script

* fix upgrade node test

* upgrade node test, use env

* bump zombienet version and fix upgrade test

* bump zombienet version

* bump zombienet

* fix raw link for binary

* adjust within time
This commit is contained in:
Javier Viola
2022-09-20 09:13:55 -03:00
committed by GitHub
parent 18c077a818
commit 8d8bd99582
4 changed files with 135 additions and 1 deletions
@@ -0,0 +1,17 @@
#!/bin/bash
set -euxo pipefail
echo $@
CFG_DIR=/cfg
# add CFG_DIR as first `looking dir` to allow to overrides commands.
mkdir -p $CFG_DIR
export PATH=$CFG_DIR:$PATH
cd $CFG_DIR
# see 0002-upgrade-node.feature to view the args.
curl -L -O $1
chmod +x $CFG_DIR/polkadot
echo $(polkadot --version)