Skip to content

Commit

Permalink
Add a Kokoro release job for running staleness tests (#10687)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
acozzette authored Sep 30, 2022
1 parent 7ad2210 commit c5c5306
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions kokoro/linux/staleness/release.cfg
Original file line number Diff line number Diff line change
@@ -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.*"
}
}

0 comments on commit c5c5306

Please sign in to comment.