Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a Jenkins job to import packages from "upstream" repositories such as the bootstrap repositories.
The pulp "sync" concept takes packages from an external repository and slaps them on top of the "latest version" of a particular repository. Since we're basing our pulp model around the distributions instead, we aren't really sure which one of the sub-repositories (building/testing/main) was the last one to create a new version. Additionally, we can't see what packages were part of the external repository - we can only see what new packages were added.
Instead of a direct "sync", I'm syncing the content from the external repository into a local mirror of the repository in pulp with the same repository name and distribution name as the pulp remote's name. I'm then invoking our existing
repo_sync.py
script to sync all of the content from that mirror into the target repositories (by default, that's any matching building/testing/main repos).Unlike the sync-to-main job, I have not configured this job to trigger off from the deb version of the job. If someone triggers the deb import_upstream with special parameters, I don't want to trigger an unexpected RPM import as well.
Requires #778