From fca6ec027794ce4e984f08f141bfeb4f6168bf18 Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Fri, 22 Oct 2021 17:29:10 -0500 Subject: [PATCH] Re-enable chart testing A previous change to move the linting job to helm3 removed the chart testing role. This change adds it back. Change-Id: Ifb8b1885b4dbe8d964f46347c8c510c743af91f4 --- playbooks/lint.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/playbooks/lint.yml b/playbooks/lint.yml index e6f4c9608..0c92067cb 100644 --- a/playbooks/lint.yml +++ b/playbooks/lint.yml @@ -14,6 +14,14 @@ # limitations under the License. - hosts: all + roles: + - ensure-chart-testing + - name: chart-testing + chart_testing_options: "--chart-dirs=. --validate-maintainers=false" + zuul_work_dir: "{{ work_dir }}" + vars: + work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}" + tasks: - name: install helm3 become_user: root