
This adds a simple job which runs the `chart-testing` linter against a repository. Change-Id: I974c64343e88c235a6dc887d5378f7db2ee3b1fc
11 lines
346 B
YAML
11 lines
346 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Run linters
|
|
# NOTE(mnaser): We use --validate-maintainers=false because chart-testing
|
|
# relies on the existance of a remote URL which is /dev/null
|
|
# in Zuul and fails.
|
|
command: ct lint --validate-maintainers=false
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|