diff options
author | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-02-01 10:48:54 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2021-02-04 11:51:46 +0100 |
commit | b07d4a22dfd4fe24376de514019ca2a32e358b4b (patch) | |
tree | 1c89c875032758a6e27bb5c705b8a8a21ade342f /ansible/test/roles | |
parent | 007a4bdfef2e398d9141cc903927bae03ea4bc7a (diff) |
Add test scenario for Helm v3
Change-Id: Iad5478f70533719e1076f3961613fddffb14eebd
Issue-ID: OOM-2665
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible/test/roles')
-rw-r--r-- | ansible/test/roles/prepare-helm/tasks/main.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/ansible/test/roles/prepare-helm/tasks/main.yml b/ansible/test/roles/prepare-helm/tasks/main.yml index 1f461258..c1d25de0 100644 --- a/ansible/test/roles/prepare-helm/tasks/main.yml +++ b/ansible/test/roles/prepare-helm/tasks/main.yml @@ -9,4 +9,13 @@ get_url: url: "https://get.helm.sh/helm-{{ helm_version }}-linux-amd64.tar.gz" dest: "{{ app_data_path }}/downloads" - remote_src: true + +- name: Download Helm v3 helm-push plugin + command: "curl --connect-timeout 10 -L https://github.com/chartmuseum/helm-push/releases/download/v{{ helm3_push_version }}/helm-push_{{ helm3_push_version }}_linux_amd64.tar.gz -o {{ app_data_path }}/downloads/helm-push_{{ helm3_push_version }}_linux_amd64.tar.gz" + register: result + retries: 10 + delay: 1 + until: not result.failed + args: + warn: false + when: helm_version | regex_search("^v3" ) |