upstream ci: Remove 'molecule' from tests.

This patch removes 'molecule' as a dependency for tests, by using the
scripts under `utils` to setup the environment.

By not using molecule, we have more flexibility on using either docker
or podman as the container engine, and makes it easy to reproduce the
environment on different distros, allowing for a more consistent error
reproduction off Azure.
This commit is contained in:
Rafael Guterres Jeffman
2024-06-26 14:55:53 +00:00
committed by Thomas Woerner
parent 94311f439c
commit 8515c9a48b
3 changed files with 60 additions and 60 deletions

View File

@@ -1,6 +1,6 @@
---
parameters:
- name: scenario
- name: distro
type: string
default: fedora-latest
- name: build_number
@@ -8,6 +8,9 @@ parameters:
- name: ansible_version
type: string
default: ""
- name: target_python
type: string
default: "/usr/bin/python3"
jobs:
- template: playbook_fast.yml
@@ -15,13 +18,14 @@ jobs:
group_number: 1
number_of_groups: 1
build_number: ${{ parameters.build_number }}
scenario: ${{ parameters.scenario }}
distro: ${{ parameters.distro }}
ansible_version: ${{ parameters.ansible_version }}
python_version: '< 3.12'
target_python: ${{ parameters.target_python }}
# - template: pytest_tests.yml
# parameters:
# build_number: ${{ parameters.build_number }}
# scenario: ${{ parameters.scenario }}
# distro: ${{ parameters.distro }}
# ansible_version: ${{ parameters.ansible_version }}
# python_version: '< 3.12'