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

[master] Use relenv.fetch to download tarball #67022

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Akm0d
Copy link
Contributor

@Akm0d Akm0d commented Oct 30, 2024

What does this PR do?

This PR updates the salt-ssh --relenv functionality to change the source from which the Salt Onedir package is downloaded. Instead of using salt.utils.http to fetch packages from repo.saltproject.com, the logic is updated to leverage relenv.fetch to pull the package from the new Artifactory location. This transition ensures that the retrieval process remains consistent and up-to-date with the newly hosted package locations.

What issues does this PR fix or reference?

Fixes #67010

Previous Behavior

  • Utilized salt.utils.http to download the Salt Onedir package from repo.saltproject.com.

New Behavior

  • Uses relenv.fetch to download the Salt Onedir package from the new Artifactory location. This abstracts URL handling and ensures download paths align with updated infrastructure.

Merge requirements satisfied?

  • Documentation: Updates have been made to reflect changes in the URL source.
  • Changelog: Please see the changelog for more information on this update: Changelog.
  • Tests written/updated: Tests have been adjusted to confirm the new download functionality works as expected.

Commits signed with GPG?

Yes

Please review Salt's Contributing Guide for best practices, including the PR Guidelines.

For more information about signing commits with GPG, see GitHub's page on GPG signing.

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.

Update onedir package url for salt-ssh --relenv
1 participant