Skip to content
This repository has been archived by the owner on Jan 8, 2023. It is now read-only.

Raise runtime warning on unsupported configurations #76

Merged
merged 1 commit into from
Sep 5, 2021
Merged

Conversation

ssbarnea
Copy link
Member

@ssbarnea ssbarnea commented Aug 27, 2021

Instead of removing support for Ansible 2.9, do raise a runtime
warning when the unsupported configuration is detected. Molecule
will catch and display these warnings when tests are failing, telling
users to try newer versions.

Related: #70 #60

@ssbarnea ssbarnea requested a review from webknjaz as a code owner August 27, 2021 15:20
@ssbarnea ssbarnea requested a review from tadeboro August 27, 2021 15:20
@ssbarnea ssbarnea added the bug This issue/PR relates to a bug. label Aug 27, 2021
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 27, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 27, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 31, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 31, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 31, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
ssbarnea added a commit to ansible/molecule that referenced this pull request Aug 31, 2021
Captures runtime warnings raise by driver.sanity_check() and
display them at the end in case of failure.

Related: ansible-community/molecule-podman#76
@ssbarnea ssbarnea force-pushed the fix/more branch 2 times, most recently from 31329eb to 0aad678 Compare September 5, 2021 12:35
@ssbarnea ssbarnea requested a review from webknjaz September 5, 2021 12:37
Instead of removing support for Ansible 2.9, do raise a runtime
warning when the unsupported configuration is detected. Molecule
will catch and display these warnings when tests are failing, telling
users to try newer versions.

Related: #70
@ssbarnea ssbarnea merged commit 90ea66c into main Sep 5, 2021
@ssbarnea ssbarnea deleted the fix/more branch September 5, 2021 14:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants