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

Add Molecule GitHub workflow #23

Merged
merged 4 commits into from
Mar 29, 2023
Merged

Conversation

parcimonic
Copy link
Contributor

Hi 👋

This is the second PR for #19.

Some comments on my changes:

I had to update the Red Hat test image so DNF could work in Ansible. I couldn't find a python39-dnf package, so I went with Ansible's suggestion of python3-dnf. With this change, tests are working fine now 🎉

Molecule configuration now uses environment variables to select the test OS. Since for now you're using your self maintained images, I've changed only the "OS-name" part of the fully qualified image name. This keeps the test matrix "short", but it doesn't allow much flexibility if someone wants to test using images in other namespaces. I'm ok with that right now, but feel free to change the variable scope in the future if you wish.

@parcimonic
Copy link
Contributor Author

The test for Red Hat is failing because my update to the image will only be built when version.json is merged to the main branch.

Do you want me to move that commit to another PR or is it OK to leave it here?

@nleiva
Copy link
Owner

nleiva commented Mar 29, 2023

Awesome! Thank you very much

@nleiva nleiva merged commit 0bc3f41 into nleiva:main Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants