Skip to content

Commit ebc52e6

Browse files
dpebotjkwlui
authored andcommitted
build: prevent system/sample-test from leaking credentials
1 parent ea1c50f commit ebc52e6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.kokoro/samples-test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ cd $(dirname $0)/..
2626

2727
# Run a pre-test hook, if a pre-samples-test.sh is in the project
2828
if [ -f .kokoro/pre-samples-test.sh ]; then
29+
set +x
2930
. .kokoro/pre-samples-test.sh
31+
set -x
3032
fi
3133

3234
npm install

.kokoro/system-test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ cd $(dirname $0)/..
2626

2727
# Run a pre-test hook, if a pre-system-test.sh is in the project
2828
if [ -f .kokoro/pre-system-test.sh ]; then
29+
set +x
2930
. .kokoro/pre-system-test.sh
31+
set -x
3032
fi
3133

3234
npm install

0 commit comments

Comments
 (0)