Elek, Marton created HDDS-1515:
----------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to