Gate: Store helm values for release

This PS stores the applied helm values for releases in the gate.

Change-Id: I6563104ded6631b63d9fced775b9b9dba7fd00ef
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2019-06-24 13:48:24 -05:00 committed by Pete Birley
parent a35ded2efc
commit e80c7f8aac

View File

@ -12,8 +12,13 @@
- name: "creating directory for helm release status" - name: "creating directory for helm release status"
file: file:
path: "{{ logs_dir }}/helm" path: "{{ logs_dir }}/helm/{{ directory }}"
state: directory state: directory
loop_control:
loop_var: directory
with_items:
- values
- releases
- name: "retrieve all deployed charts" - name: "retrieve all deployed charts"
shell: |- shell: |-
@ -27,7 +32,8 @@
- name: "Gather get release status for helm charts" - name: "Gather get release status for helm charts"
shell: |- shell: |-
set -e set -e
helm status {{ helm_released }} >> {{ logs_dir }}/helm/{{ helm_release }}.txt helm status {{ helm_released }} >> {{ logs_dir }}/helm/releases/{{ helm_release }}.txt
helm get values {{ helm_released }} >> {{ logs_dir }}/helm/values/{{ helm_release }}.yaml
args: args:
executable: /bin/bash executable: /bin/bash
ignore_errors: True ignore_errors: True