From 14d2ed1ad7785a54b35ef7ee949d3cf89a87e66d Mon Sep 17 00:00:00 2001 From: Brad Burlage Date: Thu, 23 Jan 2020 14:12:40 -0800 Subject: 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 --- kokoro/kythe/generate_xrefs.cfg | 3 ++- kokoro/kythe/generate_xrefs.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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 \ -- cgit v1.2.3