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

[ansible/artifactory] Use fetch and lookup('ini') to get the version #369

Merged

Conversation

dlundgren
Copy link
Contributor

PR Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Title of the PR starts with installer/product name (e.g. [ansible/artifactory])
  • CHANGELOG.md updated
  • Variables and other changes are documented in the README.md

What this PR does / why we need it:

Changes the way that the Artifactory product version is obtained.

Which issue this PR fixes: fixes #365

Special notes for your reviewer:

ansible.builtin.slurp could also be used if we want to not rely on a temporary file, but it requires some filtering within Ansible to the same data.

@chukka
Copy link
Collaborator

chukka commented Jan 30, 2024

Thanks for the contribution ! will test this internally and if it looks good , we plan it for next patch release

@chukka chukka added Ansible good first issue Good for newcomers labels Jan 30, 2024
@alexeyd-itsoft
Copy link
Contributor

@dlundgren

No need to use shell/fetch/lookup and all those things. Artifactory already has api endpoint /api/system/version

https://jfrog.com/help/r/jfrog-rest-apis/version-and-add-ons-information

@chukka chukka changed the base branch from master to jp-10.17.1 March 1, 2024 12:01
@chukka chukka merged commit 14f61ce into jfrog:jp-10.17.1 Mar 1, 2024
1 check passed
chukka added a commit that referenced this pull request Mar 1, 2024
* #365 Use `fetch` and `lookup('ini')` to get the version (#369)

* [ansible] JFrog Platform 10.17.1 release

---------

Co-authored-by: David Lundgren <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ansible good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ansible/artifactory] Upgrade fails on Ubuntu 22.04 during the Check artifactory version task
3 participants