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

OPSEXP-2743 Run ansible-galaxy via pipenv when available #680

Merged
merged 8 commits into from
Jul 11, 2024

Conversation

pmacius
Copy link
Contributor

@pmacius pmacius commented Jul 10, 2024

Checklist

Description

@pmacius pmacius requested a review from a team as a code owner July 10, 2024 12:57
@pmacius pmacius changed the title OPSEXP-2743 Run installation of requirements when Pipfile exists OPSEXP-2743 Run installation of requirements on pipenv when Pipfile exists Jul 10, 2024
@pmacius pmacius requested review from gionn and alxgomz July 10, 2024 15:17
Copy link
Member

@gionn gionn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no versions.txt bump because you bump once the other PR is merged right?

docs/README.md Outdated Show resolved Hide resolved
Co-authored-by: Giovanni Toraldo <71768+gionn@users.noreply.github.com>
Copy link
Contributor

@alxgomz alxgomz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR mentions testing Pipfile presence but the code test the cache dir. I think neither are really safe (though I admit would work in most case) as:
Pipfile location can be given from env var & cache directory can be cleared using pipenv --clear and also set using env var.
Isn't it more simple to simply test the binary?

@pmacius pmacius requested review from gionn and alxgomz July 11, 2024 08:02
@gionn gionn changed the title OPSEXP-2743 Run installation of requirements on pipenv when Pipfile exists OPSEXP-2743 Run ansible-galaxy via pipenv when available Jul 11, 2024
@pmacius pmacius merged commit 81fb030 into master Jul 11, 2024
3 checks passed
@pmacius pmacius deleted the OPSEXP-2743-deps branch July 11, 2024 08:23
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.

3 participants