Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Fix user interaction in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Feb 6, 2019
1 parent 14a8531 commit 0529583
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion run-k8s-istio-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ TYPE_SPEED=40
# Uncomment to run non-interactively
#export PROMPT_TIMEOUT=1

# If this is running under CI disable any user interaction (not to stop on the "wait" funcion)
[ "$CI" == "true" ] && export PROMPT_TIMEOUT=1

# No wait
export NO_WAIT=true

Expand All @@ -44,5 +47,4 @@ pe '"'"'/' \
-e 's/^```$/'"'"'/' \
> README.sh


source README.sh
2 changes: 2 additions & 0 deletions tests/ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,6 @@ kubectl label namespace default istio-injection-

cd ../..
rm -rf files

export PROMPT_TIMEOUT=1
./run-k8s-istio-demo.sh

0 comments on commit 0529583

Please sign in to comment.