Skip to content
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

Maybe improve tests by using molecule? #128

Open
kyl191 opened this issue Dec 5, 2020 · 1 comment
Open

Maybe improve tests by using molecule? #128

kyl191 opened this issue Dec 5, 2020 · 1 comment
Labels

Comments

@kyl191
Copy link
Owner

kyl191 commented Dec 5, 2020

It looks like it's design for running a role in a Docker image, which is the tests do right now, except Github Actions don't allow us to actually start containers with the proper entrypoint (systemd).
And there's something about the docker create && docker start and docker run cycle that doesn't allow containers to last on GH infra, despite docker run working fine on other platforms.
Maybe molecule will overcome that?

Crib liberally from https://github.com/diodonfrost/ansible-role-podman/blob/master/.github/workflows/molecule.yml

@kyl191
Copy link
Owner Author

kyl191 commented Jun 13, 2021

Also plausibly crib from Jeff Geerling's work - https://github.com/geerlingguy/ansible-role-php/tree/master/molecule/default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant