Add support to trigger testnet from a PR (#1434)

* Add support for different node counts

* Update variable names

* Delete network even after failures

* Add array for node counts

* Changed number of nodes to a space separated string of numbers

* Adjust number of nodes

* Snap will not be published if the env variable DO_NOT_PUBLISH_SNAP is set

* Address review comments

* Replaced influx db URL
This commit is contained in:
Pankaj Garg
2018-10-05 16:32:05 -07:00
committed by GitHub
parent 9c0fa4d1d2
commit 0a39722719
5 changed files with 107 additions and 3 deletions

View File

@@ -57,5 +57,7 @@ snapcraft
source ci/upload_ci_artifact.sh
upload_ci_artifact solana_*.snap
echo --- publish: $CHANNEL channel
$DRYRUN snapcraft push solana_*.snap --release $CHANNEL
if [[ -z $DO_NOT_PUBLISH_SNAP ]]; then
echo --- publish: $CHANNEL channel
$DRYRUN snapcraft push solana_*.snap --release $CHANNEL
fi