Skip to content

Commit 40ce950

Browse files
author
Tom Barnes
committed
instrument more places with set -x
1 parent 6510d47 commit 40ce950

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/integration-tests/bash/lease.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Main: See 'function main' below.
77
#
88

9+
set -x
10+
911
function usage {
1012
cat << EOF
1113

wercker.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ integration-test:
141141
# - finally, run.sh will periodically try renew the lease as it runs (using $LEASE_ID)
142142
# - if run.sh fails when it tries to renew the lease (as something else took it, etc), it will exit early
143143
# - when run.sh exits, it will try release the lease if it's still the owner...
144+
set -x
144145
export LEASE_ID="${WERCKER_STEP_ID}-pid$$"
145146
echo @@
146147
echo @@ "Obtaining lease!"
@@ -154,10 +155,10 @@ integration-test:
154155
echo @@ "Current lease owner (if any):"
155156
$WERCKER_SOURCE_DIR/src/integration-tests/bash/lease.sh -s
156157
echo @@
157-
set -x
158158
echo @@ "About to try obtain lease:"
159159
$WERCKER_SOURCE_DIR/src/integration-tests/bash/lease.sh -o "$LEASE_ID" -t $((100 * 60))
160160
echo @@
161+
set +x
161162
162163
# create pull secrets
163164
echo @@ "Creating pull secrets"

0 commit comments

Comments
 (0)