zuul-jobs/roles/ensure-helm/tasks/main.yaml
Mohammed Naser b476e34ab0 Add basic Helm jobs
This adds a simple job which runs the `chart-testing` linter against
a repository.

Change-Id: I974c64343e88c235a6dc887d5378f7db2ee3b1fc
2020-01-07 17:12:15 +00:00

20 lines
457 B
YAML

---
- name: Download Helm
unarchive:
remote_src: true
src: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
dest: /tmp
- name: Install Helm
become: true
copy:
remote_src: true
src: /tmp/linux-amd64/helm
dest: /usr/local/bin/helm
mode: '0755'
- name: Initialize Helm
shell: helm init --client-only
tags:
# NOTE(mnaser): The `helm` module does not support running init only.
- skip_ansible_lint