Skip to content
Snippets Groups Projects
Commit 827ca8d4 authored by František Dvořák's avatar František Dvořák
Browse files

Merge branch 'test_accounting+accounting_db_fix' into 'master'

Updating accounting chart version + adding testing accounting deployment

See merge request !9
parents 5fc9f7d7 12a559b6
No related branches found
No related tags found
1 merge request!9Updating accounting chart version + adding testing accounting deployment
......@@ -9,11 +9,11 @@
when: "'egi-accounting' not in ansible_local.helm_repos | map(attribute='name') | list"
- name: Get credentials from Vault for accounting
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) }}"
- name: Get accounting installation ID from Vault
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)) }}"
- name: Debug accounting secrets
debug:
......@@ -27,7 +27,7 @@
- name: Deploy/upgrade accounting instance
vars:
name: "notebooks-accounting"
version: "0.2.1"
version: "0.2.2"
shell: |-
helm status --namespace accounting {{ name }}
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