tripleo-operator-ansible/roles/test_molecule_prep
Harald Jensås 570c886faa Bump molecule[test] to 3.5.x
CI is failing with conflictiong dependencies:

The conflict is caused by:
    molecule[test] 3.2.4 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.3 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.2 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.1 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0a2 depends on pluggy<1.0 and >=0.7.1
    molecule[test] 3.2.0a1 depends on pluggy<1.0 and >=0.7.1
    The user requested (constraint) pluggy===1.0.0

Let's try to use molecule[test] 3.5.x

Also set 'role_name' and 'namespace' in meta/main.yaml for
all roles. Namespace cannot container uppercase characters,
so computing fully qualified role name using author 'OpenStack'
does not work.

Also - fix tests in tripleo_overcloud_node_discover

Closes-Bug: #1943269
Change-Id: I1ab9764dd4d24c17c5ee2cb1f26fbc3c4b27d3d7
2021-09-23 15:33:06 +02:00
..
defaults Create role for molecule prep 2020-01-31 14:15:37 -07:00
meta Bump molecule[test] to 3.5.x 2021-09-23 15:33:06 +02:00
molecule/default Pin ansible <2.10 2020-09-28 08:43:44 -06:00
tasks Create role for molecule prep 2020-01-31 14:15:37 -07:00
tests Create role for molecule prep 2020-01-31 14:15:37 -07:00
README.md Create role for molecule prep 2020-01-31 14:15:37 -07:00

test_molecule_prep

A role to do collection install for molecule testing. The role assumes it's being run from a molecule path.

Requirements

None.

Role Variables

  • test_module_prep_collections_build_root: (String) Path a directory to output the collection build to. Default: "{{ ansible_env.HOME }}/collection-buildroot"
  • test_module_prep_execution_root: (String) Path to the directory where the build action should run in. Default: '../../../..'

Output Variables

None.

Dependencies

None.

Example Playbook

Example install execution playbook

- hosts: localhost
  tasks:
    - name: Do molecule prep actions
      import_role:
        name: test_molecule_prep

License

Apache-2.0