diff options
author | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-01-29 16:27:22 +0000 |
---|---|---|
committer | Marcin Chrzanowski <marcin.j.chrzanowski@gmail.com> | 2020-01-29 16:27:22 +0000 |
commit | c22ce8646fa7482ba7016eafe5e902495bacf3d7 (patch) | |
tree | 2fed914fbae6e1eb8573af3dc2dc4dd1a05d8d1f /scripts | |
parent | 23082aca8e8089474c5b2f7dfd5072dc68cc881a (diff) |
Add demo setup scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copyKey.sh | 3 | ||||
-rwxr-xr-x | scripts/copyScripts.sh | 3 | ||||
-rwxr-xr-x | scripts/runAgent.sh | 3 | ||||
-rwxr-xr-x | scripts/runClient.sh | 3 | ||||
-rwxr-xr-x | scripts/runFetcher.sh | 3 | ||||
-rwxr-xr-x | scripts/runQuerySigner.sh | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/scripts/copyKey.sh b/scripts/copyKey.sh new file mode 100755 index 0000000..a2c4791 --- /dev/null +++ b/scripts/copyKey.sh @@ -0,0 +1,3 @@ +for num in 02 03 04 05; do + scp build/tmp/query_signer.pub "rainbow${num}:~/CloudAtlas/build/tmp/" +done diff --git a/scripts/copyScripts.sh b/scripts/copyScripts.sh new file mode 100755 index 0000000..4f39469 --- /dev/null +++ b/scripts/copyScripts.sh @@ -0,0 +1,3 @@ +for num in 02 03 04 05; do + scp scripts/run*.sh "rainbow${num}:~/CloudAtlas/scripts/" +done diff --git a/scripts/runAgent.sh b/scripts/runAgent.sh new file mode 100755 index 0000000..862697a --- /dev/null +++ b/scripts/runAgent.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./gradlew runAgent -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}" diff --git a/scripts/runClient.sh b/scripts/runClient.sh new file mode 100755 index 0000000..d6a7c7e --- /dev/null +++ b/scripts/runClient.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./gradlew runClient -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}" -DquerySignerHostname=rainbow01 diff --git a/scripts/runFetcher.sh b/scripts/runFetcher.sh new file mode 100755 index 0000000..fc1d9d5 --- /dev/null +++ b/scripts/runFetcher.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./gradlew runFetcher -Dhostname="rainbow${NODE_NUMBER}" -DzonePath="/${ZONE}/rainbow${NODE_NUMBER}" -DownAddr="10.1.1.1${NODE_NUMBER#0}" -DfallbackContacts="$FALLBACKS" diff --git a/scripts/runQuerySigner.sh b/scripts/runQuerySigner.sh new file mode 100755 index 0000000..333e7ec --- /dev/null +++ b/scripts/runQuerySigner.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +./gradlew runQuerySigner -DquerySignerHostname=rainbow01 -Dhostname=rainbow01 |