-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Molecule 6 #1303
Molecule 6 #1303
Conversation
We want all the logs and help we can get during testing/CI.
Molecule automagically sets these.
Use loop unless we need additional complexity
cgroupns introduced in community.docker 3.0.0
Also, there is no scenario in our CI where we do not want logs.
this does nothing
It's a dependency within our collection and gets installed with it.
The database type is irrelevant.
We can reuse the create/destroy for all roles, as we always need a OS container, and the database container is only needed/created when the test-instance is in a known database group.
It's the same for all roles, it reflects our dependency on community.docker during provisioning.
I think the failing tests are flukes, maybe just re-run the failed ones to verify. |
Ya pretty sure they are....rerunning now |
Is there a reason not to just move straight to the current version of 24.6.0? ansible/molecule#4136 |
Not really sure, I wasn't aware of the newer releases. It has Python 3.10 as minimum requirement, but I see we bumped testing to 3.11. I'll add a commit to bump to the latest. |
Let's try even newer versions of molecule.
Maybe just re-run the failed tests again. |
This reverts commit 28c4921.
SUMMARY
Upgrading the molecule testing to version 6.
Future molecule wants to eliminate the various drivers, and just have ansible (delegated driver) set up the infrastructure. This PR does that. Creates all networks/containers in
create.yml
and destroys them indestroy.yml
.ISSUE TYPE
COMPONENT NAME
molecule, ci
ADDITIONAL INFORMATION
A small smattering of other improvements, and just removing stuff that does not need to be there.