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:
parent
a35ded2efc
commit
e80c7f8aac
@ -12,8 +12,13 @@
|
||||
|
||||
- name: "creating directory for helm release status"
|
||||
file:
|
||||
path: "{{ logs_dir }}/helm"
|
||||
path: "{{ logs_dir }}/helm/{{ directory }}"
|
||||
state: directory
|
||||
loop_control:
|
||||
loop_var: directory
|
||||
with_items:
|
||||
- values
|
||||
- releases
|
||||
|
||||
- name: "retrieve all deployed charts"
|
||||
shell: |-
|
||||
@ -27,7 +32,8 @@
|
||||
- name: "Gather get release status for helm charts"
|
||||
shell: |-
|
||||
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:
|
||||
executable: /bin/bash
|
||||
ignore_errors: True
|
||||
|
Loading…
Reference in New Issue
Block a user