Skip to content
Snippets Groups Projects
Verified Commit 12a559b6 authored by Jaromír Hradil's avatar Jaromír Hradil
Browse files

Updating accounting chart version + adding testing accounting deployment

parent 5fc9f7d7
No related branches found
No related tags found
1 merge request!9Updating accounting chart version + adding testing accounting deployment
...@@ -9,11 +9,11 @@ ...@@ -9,11 +9,11 @@
when: "'egi-accounting' not in ansible_local.helm_repos | map(attribute='name') | list" when: "'egi-accounting' not in ansible_local.helm_repos | map(attribute='name') | list"
- name: Get credentials from Vault for accounting - name: Get credentials from Vault for accounting
set_fact: set_fact:
secrets: "{{ lookup('community.hashi_vault.hashi_vault', (vault_mount_point, 'accounting') | path_join, secrets: "{{ lookup('community.hashi_vault.hashi_vault', (vault_mount_point, 'accounting') | join('/'),
token_validate=false) }}" token_validate=false) }}"
- name: Get accounting installation ID from Vault - name: Get accounting installation ID from Vault
set_fact: set_fact:
secrets: "{{ secrets | combine(lookup('community.hashi_vault.hashi_vault', (vault_mount_point, 'site-' + site_name) | path_join, secrets: "{{ secrets | combine(lookup('community.hashi_vault.hashi_vault', (vault_mount_point, 'site-' + site_name) | join('/'),
token_validate=false)) }}" token_validate=false)) }}"
- name: Debug accounting secrets - name: Debug accounting secrets
debug: debug:
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
- name: Deploy/upgrade accounting instance - name: Deploy/upgrade accounting instance
vars: vars:
name: "notebooks-accounting" name: "notebooks-accounting"
version: "0.2.1" version: "0.2.2"
shell: |- shell: |-
helm status --namespace accounting {{ name }} helm status --namespace accounting {{ name }}
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
......
../../common/playbooks/accounting.yaml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment