File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 1616set -eo pipefail
1717shopt -s nullglob
1818
19+ set -x
20+
1921# # Get the directory of the build script
2022scriptDir=$( realpath $( dirname " ${BASH_SOURCE[0]} " ) )
2123# # cd to the parent directory, i.e. the root of the git repo
@@ -53,9 +55,8 @@ if [ ! -z "${JAVA11_HOME}" ]; then
5355 setJava " ${JAVA11_HOME} "
5456fi
5557
56- # Enable airlock only for Kokoro jobs
5758INSTALL_OPTS=" "
58- if [[ ! -z " ${KOKORO_JOB_TYPE} " ]]; then
59+ if [[ $ENABLE_AIRLOCK = ' true ' ]]; then
5960 INSTALL_OPTS=" -Pairlock-trusted"
6061fi
6162
Original file line number Diff line number Diff line change @@ -10,3 +10,8 @@ env_vars: {
1010 key: " TRAMPOLINE_BUILD_FILE"
1111 value: " github/java-spanner/.kokoro/dependencies.sh"
1212}
13+
14+ env_vars: {
15+ key: " ENABLE_AIRLOCK" ,
16+ value: " true"
17+ }
You can’t perform that action at this time.
0 commit comments