diff --git a/playbooks/lint.yml b/playbooks/lint.yml index 0c92067cb..2a1e93eed 100644 --- a/playbooks/lint.yml +++ b/playbooks/lint.yml @@ -15,7 +15,10 @@ - hosts: all roles: - - ensure-chart-testing + - name: ensure-helm + helm_version: "3.6.3" + - name: ensure-chart-testing + chart_testing_version: "3.4.0" - name: chart-testing chart_testing_options: "--chart-dirs=. --validate-maintainers=false" zuul_work_dir: "{{ work_dir }}" @@ -23,18 +26,6 @@ work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}" tasks: - - name: install helm3 - become_user: root - shell: | - TMP_DIR=$(mktemp -d) - curl -sSL https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz | tar -zxv --strip-components=1 -C ${TMP_DIR} - sudo mv ${TMP_DIR}/helm /usr/bin/helm - rm -rf ${TMP_DIR} - environment: - HELM_VERSION: "v3.6.3" - args: - executable: /bin/bash - - name: make all make: chdir: "{{ zuul.project.src_dir }}"