Merge "CI: test database backup"

This commit is contained in:
Zuul 2024-11-06 13:50:07 +00:00 committed by Gerrit Code Review
commit 6951aaab1b
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