Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Workflow CLI

Linting Workflows

The workflows CLI supports both traditional workflow templates, and helm based workflow templates. The tool depends on you having both helm and argo installed. If you load the tool through the module system, this should be taken care of.

Usage

Individual templates are linted with the following

workflows lint <PATH TO MANIFEST>

To lint a folder full of manifests, add the --all tag

workflows lint <PATH TO MANIFEST DIRECTORY> --all

The same applies to helm-based templates. A specific template can be checked,

workflows lint <PATH TO TEMPLATE.YAML> --manifest-type helm

or all templates in a chart.

workflows lint <PATH TO CHART DIRECTORY> --manifest-type helm --all

For convenience, you can refer to a config file that defines all lint targets. The tool will assume all paths refer to the --all form of the above. This can be linted with the lint-config argument.

workflows lint-config <PATH TO LINT CONFIG FILE>

An example of the config is shown below.

manifests:
  - examples/conventional-templates
charts:
  - examples/helm-based-templates