From c5c5306e2df1fd7661a1eca5e18b26a860a154bd Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Fri, 30 Sep 2022 08:25:54 -0700 Subject: [PATCH] Add a Kokoro release job for running staleness tests (#10687) This job is not really a "release", but it has to be a release job so that it can run on a schedule without running presubmit or postsubmit. Generated files will be quickly updated automatically after each PR is merged, but we want to run this staleness check nightly as an extra safeguard. --- kokoro/linux/staleness/release.cfg | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 kokoro/linux/staleness/release.cfg diff --git a/kokoro/linux/staleness/release.cfg b/kokoro/linux/staleness/release.cfg new file mode 100644 index 0000000000..d109c50399 --- /dev/null +++ b/kokoro/linux/staleness/release.cfg @@ -0,0 +1,18 @@ +# We run our staleness tests as release-type jobs only. They are not really +# part of the release process, but the release job type allows us to run the +# tests on a schedule only (not presubmit or postsubmit). + +# Location of the build script in repository +build_file: "protobuf/kokoro/linux/bazel.sh" +timeout_mins: 15 + +env_vars { + key: "BAZEL_TARGETS" + value: "//src:cmake_lists_staleness_test" +} + +action { + define_artifacts { + regex: "**/sponge_log.*" + } +}