k8s-config-presubmit

command
v0.0.0-...-2ad74da Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Overview

The presubmit binary runs many checks on the differences between the current commit and its parent branch. This is usually origin/main. If there is a chain of CLs (i.e. branches), this will only consider the diffs between the current commit and the parent branch. If all presubmits pass, this binary will output nothing (by default) and have exit code 0. If any presubmits fail, there will be errors logged to stdout and the exit code will be non-zero.

This should be invoked from the root of the repo via Bazel like

bazel run //cmd/presubmit

See presubmit.sh for a helper that pipes in the correct value for repo_dir.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL