Adds name argument to deploy-and-run script
This commit is contained in:
parent
8c82b4c527
commit
6b1102efa7
|
@ -1,6 +1,8 @@
|
|||
set -e
|
||||
|
||||
replication=5
|
||||
name=testnamehere
|
||||
filter=TwoClient
|
||||
|
||||
echo "Deploying..."
|
||||
cd ../../Tools/CodexNetDeployer
|
||||
|
@ -8,8 +10,8 @@ for i in $( seq 0 $replication)
|
|||
do
|
||||
dotnet run \
|
||||
--kube-config=/opt/kubeconfig.yaml \
|
||||
--kube-namespace=codex-continuous-tests-$i \
|
||||
--deploy-file=codex-deployment-$i.json \
|
||||
--kube-namespace=codex-continuous-$name-tests-$i \
|
||||
--deploy-file=codex-deployment-$name-$i.json \
|
||||
--nodes=5 \
|
||||
--validators=3 \
|
||||
--log-level=Trace \
|
||||
|
@ -25,7 +27,7 @@ do
|
|||
--check-connect=1 \
|
||||
-y
|
||||
|
||||
cp codex-deployment-$i.json ../../Tests/CodexContinuousTests
|
||||
cp codex-deployment-$name-$i.json ../../Tests/CodexContinuousTests
|
||||
done
|
||||
echo "Starting tests..."
|
||||
cd ../../Tests/CodexContinuousTests
|
||||
|
@ -33,12 +35,12 @@ for i in $( seq 0 $replication)
|
|||
do
|
||||
screen -d -m dotnet run \
|
||||
--kube-config=/opt/kubeconfig.yaml \
|
||||
--codex-deployment=codex-deployment-$i.json \
|
||||
--log-path=logs-$i \
|
||||
--data-path=data-$i \
|
||||
--codex-deployment=codex-deployment-$name-$i.json \
|
||||
--log-path=logs-$name-$i \
|
||||
--data-path=data-$name-$i \
|
||||
--keep=1 \
|
||||
--stop=1 \
|
||||
--filter=TwoClient \
|
||||
--filter=$filter \
|
||||
--cleanup=1 \
|
||||
--full-container-logs=1 \
|
||||
--target-duration=172800 # 48 hours
|
||||
|
|
Loading…
Reference in New Issue