
This ensures we run installations fully serially and not overload this small CI setup. Change-Id: I4f976c8589309253548409781702afa5a3fbd0c8
27 lines
808 B
YAML
27 lines
808 B
YAML
- hosts: all
|
|
tasks:
|
|
- name: Pull helm charts deps
|
|
command: "helm dependency build {{ helm_chart }}"
|
|
vars:
|
|
helm_chart: "{{ zj_item.value }}"
|
|
loop: "{{ helm_charts | dict2items }}"
|
|
loop_control:
|
|
loop_var: 'zj_item'
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
- name: Install helm charts
|
|
command: "helm install {{ helm_release_name }} {{ helm_chart }} --wait --wait-for-jobs"
|
|
vars:
|
|
helm_release_name: "{{ zj_item.key }}"
|
|
helm_chart: "{{ zj_item.value }}"
|
|
loop: "{{ helm_charts | dict2items }}"
|
|
loop_control:
|
|
loop_var: 'zj_item'
|
|
args:
|
|
chdir: "{{ zuul.project.src_dir }}"
|
|
|
|
- name: Check pod restarts after helm chart installations
|
|
include_role:
|
|
name: check-pod-restarts
|