8e472d4137
Change-Id: Ice93989a4eaa5125ea97586db1c915fdf59682b7
23 lines
646 B
YAML
23 lines
646 B
YAML
- name: Install dependencies
|
|
command: "helm dep up {{ helm_chart }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Print templated charts
|
|
command: "helm template -n zuul {{ helm_chart }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Deploy templated charts
|
|
shell: |
|
|
set -o pipefail
|
|
helm template {% if helm_values_file is defined %}--values {{ helm_values_file }} {% endif %}-n {{ helm_release_name }} {{ helm_chart }} | kubectl apply -f-
|
|
args:
|
|
executable: /bin/bash
|
|
chdir: "{{ zuul_work_dir }}"
|
|
|
|
- name: Wait for all pods to become Ready
|
|
include_role:
|
|
name: wait-for-pods
|
|
when: helm_wait_for_pods | bool
|