CI: test database backup

Change-Id: I4b3e4630942d860c8c4b8e85a794ba6ae920e6e0
This commit is contained in:
Pierre Riteau 2024-10-31 16:27:03 +01:00
parent 1710af5792
commit 034f5d9979
2 changed files with 10 additions and 0 deletions

View File

@ -39,6 +39,9 @@ kolla_enable_ironic: true
kolla_enable_heat: false
kolla_enable_horizon: false
# Enable Mariabackup for testing database backups
kolla_enable_mariabackup: true
{% if tls_enabled %}
kolla_enable_nova_libvirt_container: false
compute_libvirt_enable_tls: true

View File

@ -49,3 +49,10 @@
source "${KOLLA_CONFIG_PATH:-/etc/kolla}/admin-openrc.sh" &&
kayobe baremetal compute register &> {{ logs_dir }}/ansible/baremetal-compute-register
executable: /bin/bash
- name: Perform database backup
shell:
cmd: >
source {{ kayobe_src_dir }}/dev/environment-setup.sh &&
kayobe overcloud database backup &> {{ logs_dir }}/ansible/database-backup
executable: /bin/bash