[
https://issues.apache.org/jira/browse/HDDS-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Elek, Marton updated HDDS-1515:
-------------------------------
Description:
hadoop-ozone/dev-support/checks/ directory contains helper scripts to execute
different code quality checks locally.
They are different from yetus as they can be executed in an easy way and they
check _ALL_ the violation of the current code base.
We need to create a new script to check the
[hadolint|https://github.com/hadolint/hadolint] errors in the hadoop-ozone and
hadoop-hdds projects.
The contracts of the check scripts:
# Exit code should define the result (0: passed, <>0 failed)
# Violation should be printed out to the stdout
We can assume that the hadolint is part of the development environment. For
jenkins we can put it to the image of the dev builds.
As the check introduce zero-tolerance for the hadolint violations the biggest
issue here is to eliminate all of the existing issues.
Thanks to [~eyang] for reporting that it's still missing.
was:
hadoop-ozone/dev-support/checks/ directory contains helper scripts to execute
different code quality checks locally.
They are different from yetus as they can be executed in an easy way and they
check _ALL_ the violation of the current code base.
We need to create a new script to check the shellcheck errors in the
hadoop-ozone and hadoop-hdds projects.
The contracts of the check scripts:
# Exit code should define the result (0: passed, <>0 failed)
# Violation should be printed out to the stdout
We can assume that the shellcheck is part of the development environment. For
jenkins we can put it to the image of the dev builds.
As the check introduce zero-tolerance for the shellcheck violation the biggest
issue here is to eliminate all of the existing issues.
Thanks to [~eyang] for reporting that it's still missing.
> CLONE - Create ozone dev-support script to check hadolint violiations
> ---------------------------------------------------------------------
>
> Key: HDDS-1515
> URL: https://issues.apache.org/jira/browse/HDDS-1515
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Elek, Marton
> Priority: Major
>
> hadoop-ozone/dev-support/checks/ directory contains helper scripts to execute
> different code quality checks locally.
> They are different from yetus as they can be executed in an easy way and they
> check _ALL_ the violation of the current code base.
> We need to create a new script to check the
> [hadolint|https://github.com/hadolint/hadolint] errors in the hadoop-ozone
> and hadoop-hdds projects.
> The contracts of the check scripts:
> # Exit code should define the result (0: passed, <>0 failed)
> # Violation should be printed out to the stdout
> We can assume that the hadolint is part of the development environment. For
> jenkins we can put it to the image of the dev builds.
> As the check introduce zero-tolerance for the hadolint violations the biggest
> issue here is to eliminate all of the existing issues.
> Thanks to [~eyang] for reporting that it's still missing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]