summaryrefslogtreecommitdiffhomepage
path: root/kokoro/kythe
diff options
context:
space:
mode:
Diffstat (limited to 'kokoro/kythe')
-rw-r--r--kokoro/kythe/generate_xrefs.cfg3
-rw-r--r--kokoro/kythe/generate_xrefs.sh4
2 files changed, 5 insertions, 2 deletions
diff --git a/kokoro/kythe/generate_xrefs.cfg b/kokoro/kythe/generate_xrefs.cfg
index 03e65c54e..ccf657983 100644
--- a/kokoro/kythe/generate_xrefs.cfg
+++ b/kokoro/kythe/generate_xrefs.cfg
@@ -23,6 +23,7 @@ bazel_setting {
action {
define_artifacts {
- regex: "*.kzip"
+ regex: "**/*.kzip"
+ fail_if_no_artifacts: true
}
}
diff --git a/kokoro/kythe/generate_xrefs.sh b/kokoro/kythe/generate_xrefs.sh
index 799467a34..4c104afdb 100644
--- a/kokoro/kythe/generate_xrefs.sh
+++ b/kokoro/kythe/generate_xrefs.sh
@@ -25,7 +25,7 @@ bazel version
python3 -V
-readonly KYTHE_VERSION='v0.0.37'
+readonly KYTHE_VERSION='v0.0.39'
readonly WORKDIR="$(mktemp -d)"
readonly KYTHE_DIR="${WORKDIR}/kythe-${KYTHE_VERSION}"
if [[ -n "$KOKORO_GIT_COMMIT" ]]; then
@@ -47,6 +47,8 @@ bazel \
--override_repository kythe_release="${KYTHE_DIR}" \
--define=kythe_corpus=gvisor.dev \
--cxxopt=-std=c++17 \
+ --config=remote \
+ --auth_credentials="${KOKORO_BAZEL_AUTH_CREDENTIAL}" \
//...
"${KYTHE_DIR}/tools/kzip" merge \