message: [cluster-test] Add --no-deploy option to cti
  This is useful to run benchmark on own workplace, when deployment is not needed
  Closes:
  Approved by: ankushagarwal
diff: @@ -10,6 +10,7 @@ WORKSPACE="cluster-test-ci"
  ENV="env"
  REPORT=""
  MARKER=$USER
  +DEPLOY=yes
  while (( "$#" )); do
  case "$1" in
  @@ -33,6 +34,10 @@ while (( "$#" )); do
  TAG=$2
  shift 2
  ;;
  + -D|--no-deploy)
  + DEPLOY=no
  + shift 1
  + ;;
  -W|--workspace)
  WORKSPACE=$2
  shift 2
  @@ -64,6 +69,7 @@ then
  echo "-E|--env <ENV>: Set environment variable, ex. -E RUST_LOG=debug. Can be repeated, e.g. -E A=B -E C=D"
  echo "-R|--report file.json: Generate json report into file.json"
  echo "--marker <MARKER>: Marker to identify purpose of this run. Must be set by automatic invocations like CI"
  + echo "--D|--no-deploy: Do not deploy new version of validator"
  echo
  echo "To see cluster test runner arguments run cti --master"
  echo
  @@ -95,8 +101,15 @@ echo " * ssh-peer"
  echo " * tail -f /data/libra/libra.log"
  echo "**********"
  +if [ "$DEPLOY" == "yes" ]
  +then
  + DEPLOY_CMD="--deploy $TAG"
  +else
  + DEPLOY_CMD=""
  +fi
  +
  -ssh -t $JUMPHOST ssh -i /libra_rsa ec2-user@ct.priv.${WORKSPACE}.aws.hlw3truzy4ls.com $ENV CTI_MARKER=$MARKER REMOTE_USER=$MARKER ct -c cluster-test-ci --image "853397791086.dkr.ecr.us-west-2.amazonaws.com/libra_cluster_test:$TAG" --deploy $TAG $* | tee $OUTPUT_TEE
  +ssh -t $JUMPHOST ssh -i /libra_rsa ec2-user@ct.priv.${WORKSPACE}.aws.hlw3truzy4ls.com $ENV CTI_MARKER=$MARKER REMOTE_USER=$MARKER ct -c cluster-test-ci --image "853397791086.dkr.ecr.us-west-2.amazonaws.com/libra_cluster_test:$TAG" $DEPLOY_CMD $* | tee $OUTPUT_TEE
  if [ ! -z "$REPORT" ]; then
  cat $OUTPUT_TEE | awk '/====json-report-begin===/{f=1;next} /====json-report-end===/{f=0} f' > $REPORT
  