Browse Source

Added back the backup-and-restore molecule to the gate

The purpose here is to decouple the patches [1] which fixes
the ansible role and this one which adds the molecule test to the gate.

[1] - https://review.opendev.org/c/openstack/tripleo-ansible/+/786364

Change-Id: Ia74fef88e1da1b560f2d1377b91c1857ce302143
Depends-On: Ib69f8b5931e846ca012bee8a2bc24dc2a614e274
changes/08/786408/17
Juan Badia Payno 2 months ago
parent
commit
4889a97a49
3 changed files with 13 additions and 2 deletions
  1. +2
    -0
      tripleo_ansible/roles/backup-and-restore/molecule/default/molecule.yml
  2. +2
    -2
      tripleo_ansible/roles/backup-and-restore/molecule/default/prepare.yml
  3. +9
    -0
      zuul.d/molecule.yaml

+ 2
- 0
tripleo_ansible/roles/backup-and-restore/molecule/default/molecule.yml View File

@ -43,6 +43,8 @@ provisioner:
scenario:
name: default
test_sequence:
- destroy
- create
- prepare
- converge


+ 2
- 2
tripleo_ansible/roles/backup-and-restore/molecule/default/prepare.yml View File

@ -83,13 +83,13 @@
podman_image:
name: "{{ item }}"
with_items:
- ubi:8
- registry.access.redhat.com/ubi8/ubi-minimal
- mysql
- name: Create a data container
podman_container:
name: "{{ item }}"
image: ubi:8
image: ubi-minimal
state: started
command: sleep 1d
with_items:


+ 9
- 0
zuul.d/molecule.yaml View File

@ -3,6 +3,7 @@
check:
jobs:
- tripleo-ansible-centos-8-molecule-aide
- tripleo-ansible-centos-8-molecule-backup-and-restore
- tripleo-ansible-centos-8-molecule-test_deps
- tripleo-ansible-centos-8-molecule-test_json_error_callback
- tripleo-ansible-centos-8-molecule-test_package_action
@ -48,6 +49,7 @@
gate:
jobs:
- tripleo-ansible-centos-8-molecule-aide
- tripleo-ansible-centos-8-molecule-backup-and-restore
- tripleo-ansible-centos-8-molecule-test_deps
- tripleo-ansible-centos-8-molecule-test_package_action
- tripleo-ansible-centos-8-molecule-tripleo-bootstrap
@ -97,6 +99,13 @@
parent: tripleo-ansible-centos-8-base
vars:
tripleo_role_name: aide
- job:
files:
- ^tripleo_ansible/roles/backup-and-restore/.*
name: tripleo-ansible-centos-8-molecule-backup-and-restore
parent: tripleo-ansible-centos-8-base
vars:
tripleo_role_name: backup-and-restore
- job:
files:
- ^tripleo_ansible/roles/test_deps/.*


Loading…
Cancel
Save