summaryrefslogtreecommitdiffhomepage
path: root/kokoro/kythe
diff options
context:
space:
mode:
authorBrad Burlage <brb@google.com>2020-01-23 14:12:40 -0800
committergVisor bot <gvisor-bot@google.com>2020-01-23 14:14:24 -0800
commit14d2ed1ad7785a54b35ef7ee949d3cf89a87e66d (patch)
tree09eaeb0fac9b8732b238f466f9308f1c787f32fb /kokoro/kythe
parent7a79715504e92be9fc9aebc12fbd65aa46049054 (diff)
Fix kythe build.
* Pass --auth_credentials now that we're using RBE * Fix kzips not being uploaded to the root of the GCS bucket PiperOrigin-RevId: 291241757
Diffstat (limited to 'kokoro/kythe')
-rw-r--r--kokoro/kythe/generate_xrefs.cfg3
-rw-r--r--kokoro/kythe/generate_xrefs.sh1
2 files changed, 3 insertions, 1 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 d2ca95c68..4c104afdb 100644
--- a/kokoro/kythe/generate_xrefs.sh
+++ b/kokoro/kythe/generate_xrefs.sh
@@ -48,6 +48,7 @@ bazel \
--define=kythe_corpus=gvisor.dev \
--cxxopt=-std=c++17 \
--config=remote \
+ --auth_credentials="${KOKORO_BAZEL_AUTH_CREDENTIAL}" \
//...
"${KYTHE_DIR}/tools/kzip" merge \