1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/hack/validate
Sebastiaan van Stijn 1f0fdcc6f5
hack/validate: clean-up output, move golang-ci-lint to end
The golang-ci-lint takes longest to run, so do the other
checks first; this also makes the output a bit more readable.

While at it, fix some consistency issues in the output of the
other checks.

Before this change:

    TEST_FORCE_VALIDATE=1 hack/validate/default
    Congratulations!  All commits are properly signed with the DCO!
    Congratulations! Seccomp profile generation is done correctly.
    INFO [config_reader] Used config file hack/validate/golangci-lint.yml
    INFO [lintersdb] Active 15 linters: [deadcode gofmt goimports golint gosec gosimple govet ineffassign misspell staticcheck structcheck typecheck unconvert unused varcheck]
    ...
    INFO Execution took 2m12.4287302s
    Congratulations!  "./pkg/..." is safely isolated from internal code.
    The swagger spec at "api/swagger.yaml" is valid against swagger specification 2.0
    Congratulations! All api changes are done the right way.
    Congratulations!  All toml source files changed here have valid syntax.
    Congratulations!  Changelog CHANGELOG.md is well-formed.
    Congratulations!  Changelog CHANGELOG.md dates are in descending order.

After this change:

    TEST_FORCE_VALIDATE=1 hack/validate/default
    Congratulations!  All commits are properly signed with the DCO!
    Congratulations!  Seccomp profile generation is done correctly.
    Congratulations!  Packages in "./pkg/..." are safely isolated from internal code.
    Congratulations!  The swagger spec at "api/swagger.yaml" is valid against swagger specification 2.0
    Congratulations!  All API changes are done the right way.
    Congratulations!  All TOML source files changed here have valid syntax.
    Congratulations!  Changelog CHANGELOG.md is well-formed.
    Congratulations!  Changelog CHANGELOG.md dates are in descending order.
    Congratulations!  No new tests were added to integration-cli.

    INFO Start validation with golang-ci-lint
    INFO [config_reader] Used config file hack/validate/golangci-lint.yml
    INFO [lintersdb] Active 15 linters: [deadcode gofmt goimports golint gosec gosimple govet ineffassign misspell staticcheck structcheck typecheck unconvert unused varcheck]
    ...
    INFO Execution took 2m12.4287302s

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-12-19 18:07:07 +01:00
..
.swagger-yamllint Add swagger.yaml validation 2016-11-07 11:03:21 -08:00
.validate hack: no need to git fetch in CI 2019-02-05 02:54:50 +00:00
all Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
changelog-date-descending hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
changelog-well-formed hack: fix mixed tabs/spaces for indentation 2019-08-02 15:58:33 +02:00
dco Shell scripts: fix bare variables 2019-01-10 02:50:47 +01:00
default hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
default-seccomp hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
deprecate-integration-cli hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
golangci-lint hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
golangci-lint.yml Merge pull request #40074 from yedamao/fix-integration-cli 2019-12-19 03:30:34 +09:00
pkg-imports hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
swagger hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
swagger-gen hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
toml hack/validate: clean-up output, move golang-ci-lint to end 2019-12-19 18:07:07 +01:00
vendor hack/validate: allow forcing validation 2019-12-19 18:03:55 +01:00