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

fix(molecule): don't contact galaxy api since requirements come from git #241

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

gardar
Copy link
Member

@gardar gardar commented Oct 27, 2023

I thought we had already avoided contacting the ansible galaxy api when switching requirements.yml over to git repos, but apparently molecule has a couple of ways it's installing dependencies, one which is controlled by the "dependency" key in the molecule config, and the other one that via the "prerun" option. The prerun uses ansible-compat and we can't pass any configuration to it, so the only option is to disable it.

By avoiding the galaxy api we can safely use older ansible versions which are incompatible with the ansible galaxy v3 api.
This should also speed up testing a bit, since we're not installing dependencies multiple times per run.

@gardar gardar force-pushed the ci/dont-contact-galaxy branch from 4178fd3 to 5f016b8 Compare October 27, 2023 15:51
@github-actions github-actions bot added bugfix and removed bugfix labels Oct 27, 2023
@gardar gardar force-pushed the ci/dont-contact-galaxy branch from 5f016b8 to f7e145e Compare October 27, 2023 16:01
@github-actions github-actions bot added bugfix and removed bugfix labels Oct 27, 2023
@gardar gardar force-pushed the ci/dont-contact-galaxy branch from f7e145e to 20a1cf4 Compare October 27, 2023 16:58
@github-actions github-actions bot added bugfix and removed bugfix labels Oct 27, 2023
@github-actions github-actions bot added bugfix and removed bugfix labels Oct 27, 2023
@gardar gardar merged commit 88af3c6 into prometheus-community:main Oct 27, 2023
74 checks passed
@gardar gardar deleted the ci/dont-contact-galaxy branch October 27, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants