Skip to content

Commit 41d558b

Browse files
authored
ci: allow --verbose flag to affect output of docker build (#9119)
`ci/cloudbuild/build.sh --docker --trigger=xxx --verbose` failed to actually be verbose in the local build within the docker image because the `--env=VERBOSE_FLAG=${VERBOSE_FLAG:-}` setting was ignored in the `ci/cloudbuild/build.sh --local` reinvocation. So, make the `VERBOSE_FLAG` initialization heed an existing value in the environment.
1 parent 9d62df7 commit 41d558b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/cloudbuild/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ CLEAN_FLAG="false"
105105
LOCAL_FLAG="false"
106106
DOCKER_FLAG="false"
107107
SHELL_FLAG="false"
108-
VERBOSE_FLAG="false"
108+
: "${VERBOSE_FLAG:=false}"
109109
while true; do
110110
case "$1" in
111111
--build)

0 commit comments

Comments
 (0)