Skip to content

Commit 03a730f

Browse files
committed
CI: start-bosh scripts have DEBUG flag
Set the env var DEBUG to any non-empty value and both bash and bosh debug logging will be enabled.
1 parent 9c63ea9 commit 03a730f

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

ci/dockerfiles/docker-cpi/start-bosh.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22

33
set -e
4+
if [[ -n "${DEBUG:-}" ]]; then
5+
set -x
6+
export BOSH_LOG_LEVEL=debug
7+
fi
48

59
function generate_certs() {
610
local certs_dir

ci/dockerfiles/warden-cpi/start-bosh.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/usr/bin/env bash
22

33
set -e
4+
if [[ -n "${DEBUG:-}" ]]; then
5+
set -x
6+
export BOSH_LOG_LEVEL=debug
7+
fi
48

59
local_bosh_dir="/tmp/local-bosh/director"
610

0 commit comments

Comments
 (0)