Skip to content
This repository has been archived by the owner on Jan 19, 2022. It is now read-only.

Commit

Permalink
quickest-start.sh should not prompt to rm out. (#51)
Browse files Browse the repository at this point in the history
* Add --action=create flag to avoid prompting the user, e.g. creating/updating, and automatically delete the out dir.
* increase MaxAttempts from 11->20.
  • Loading branch information
libby authored Jul 27, 2020
1 parent 9eacf65 commit 09635e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickest-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ fi
function wait_for_running_pods() {
# make sure all the pods come up and are in a RUNNING state.
CT=0
MAX_ATTEMPTS=11
MAX_ATTEMPTS=20
ALL_RUNNING="false"
while [[ ${ALL_RUNNING} != "true" && $CT -lt $MAX_ATTEMPTS ]]
do
Expand Down Expand Up @@ -240,8 +240,8 @@ echo "kind cluster created"
if [[ $NUM_NODES -gt 0 ]];
then
cat qubernetes.yaml | sed "s/number:.*/number: $NUM_NODES/g" > quickest-start.yaml
echo docker run --rm -it -v $(pwd):/qubernetes quorumengineering/qubernetes ./qube-init quickest-start.yaml
docker run --rm -it -v $(pwd):/qubernetes quorumengineering/qubernetes ./qube-init quickest-start.yaml
echo docker run --rm -it -v $(pwd):/qubernetes quorumengineering/qubernetes ./qube-init --action=create quickest-start.yaml
docker run --rm -it -v $(pwd):/qubernetes quorumengineering/qubernetes ./qube-init --action=create quickest-start.yaml
SEPARATE_DEPLOYMENT_FILES=""
if [[ -d out/deployments ]]; then
SEPARATE_DEPLOYMENT_FILES="-f out/deployments"
Expand Down

0 comments on commit 09635e5

Please sign in to comment.