diff --git a/.kokoro/system-test.sh b/.kokoro/system-test.sh index 0b3043d26..72b5628fb 100755 --- a/.kokoro/system-test.sh +++ b/.kokoro/system-test.sh @@ -31,6 +31,15 @@ if [ -f .kokoro/pre-system-test.sh ]; then set -x fi +# Enable airlock only for Kokoro presubmit jobs +if [[ ! -z "${KOKORO_JOB_TYPE}" && ${KOKORO_JOB_TYPE} =~ ^.*presubmit.*$ ]]; then + cat > .npmrc <