containerd/hack/repo-infra/verify
Mike Brown 8243c1feb7 removing unused repo-infra files; updating README.md
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-04-21 16:18:04 -05:00
..
boilerplate adds boilerplate test to verify; cleanup boilerplate on a few files 2017-04-21 12:44:25 -05:00
README.md removing unused repo-infra files; updating README.md 2017-04-21 16:18:04 -05:00
verify-boilerplate.sh Merge commit '031b284c8a15ad4b28f81b113a9f2018af5b1da6' as 'hack/repro-infra' 2017-04-21 12:17:40 -05:00

Verification scripts

Collection of scripts that verifies that a project meets requirements set for kubernetes related projects. The scripts are to be invoked depending on the needs via CI tooling, such as Travis CI. See main Readme file on how to integrate the repo-infra in your project.

The scripts are currently being migrated from the main kubernetes repository. If your project requires additional set of verifications, consider creating an issue/PR on repo-infra to avoid code duplication across multiple projects.

If repo-infra is integrated at the root of your project as git submodule at path: hack/repo-infra, then scripts can be invoked as hack/repo-infra/verify/verify-*.sh

travis.yaml example:

dist: trusty

os:
- linux

language: go

go:
- 1.8

script:
- hack/repo-infra/verify/verify-boilerplate.sh

Verify boilerplate

Verifies that the boilerplate for various formats (go files, Makefile, etc.) is included in each file: verify-boilerplate.sh.