File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,9 @@ bring_up_example () {
62
62
run_log " Snooze for ${DELAY} while ${NAME} gets started"
63
63
sleep " $DELAY "
64
64
fi
65
+ if [[ -z " $ENVOY_EXAMPLES_DEBUG " ]]; then
66
+ return
67
+ fi
65
68
for path in " ${paths[@]} " ; do
66
69
pushd " $path " > /dev/null || return 1
67
70
" ${DOCKER_COMPOSE[@]} " ps
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ EXAMPLE_DIR="${2}"
5
5
TMPOUT=$( mktemp)
6
6
RUNDIR=$( mktemp -d)
7
7
8
- export TERM=xterm-256color
8
+ export COMPOSE_INTERACTIVE_NO_CLI=1
9
+ export COMPOSE_PROGRESS=quiet
9
10
10
11
complete () {
11
12
EXITCODE=" $( tail -n 1 " ${TMPOUT} " | grep -oP ' (?<=COMMAND_EXIT_CODE=")[0-9]+' ) "
@@ -37,7 +38,7 @@ verify () {
37
38
else
38
39
cd " ${EXAMPLE_NAME} "
39
40
fi
40
- script -q -c " unbuffer ./verify.sh" " $TMPOUT " > /dev/null
41
+ script -q -c " ./verify.sh" " $TMPOUT " > /dev/null
41
42
}
42
43
43
44
trap complete EXIT
You can’t perform that action at this time.
0 commit comments