diff --git a/Tests/CodexContinuousTests/deploy-and-run.sh b/Tests/CodexContinuousTests/deploy-and-run.sh index 130c534f..0260f7ca 100644 --- a/Tests/CodexContinuousTests/deploy-and-run.sh +++ b/Tests/CodexContinuousTests/deploy-and-run.sh @@ -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