Merge "Lint job: Install Helm before chart-testing"
This commit is contained in:
commit
14b8597558
@ -15,7 +15,10 @@
|
|||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
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
|
- name: chart-testing
|
||||||
chart_testing_options: "--chart-dirs=. --validate-maintainers=false"
|
chart_testing_options: "--chart-dirs=. --validate-maintainers=false"
|
||||||
zuul_work_dir: "{{ work_dir }}"
|
zuul_work_dir: "{{ work_dir }}"
|
||||||
@ -23,18 +26,6 @@
|
|||||||
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
|
work_dir: "{{ zuul.project.src_dir }}/{{ zuul_osh_infra_relative_path | default('') }}"
|
||||||
|
|
||||||
tasks:
|
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
|
- name: make all
|
||||||
make:
|
make:
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user