mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 09:51:02 +00:00
[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:
@@ -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)
|
||||
Reference in New Issue
Block a user