Start using ensure-helm role for publishing
At the moment, our publishing scripts have their own little way of deploying Helm so it's using the old version of Helm which is failing linting. This updates it so that it matches how we're running it inside our lint playbook, and it will also fix the builds since it's also failing because of the old version of Helm. Change-Id: I719c2dadc3ca87912234ac13d87d63e8c7b779a7
This commit is contained in:
parent
0224fb0f2c
commit
70f2bc42bd
@ -12,19 +12,11 @@
|
|||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
- hosts: all
|
- hosts: all
|
||||||
tasks:
|
roles:
|
||||||
- name: install helm3
|
- name: ensure-helm
|
||||||
become_user: root
|
helm_version: "3.6.3"
|
||||||
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.3.4"
|
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
|
|
||||||
|
tasks:
|
||||||
- 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