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

Add RPM import_upstream job #779

Merged
merged 3 commits into from
Mar 26, 2020
Merged

Add RPM import_upstream job #779

merged 3 commits into from
Mar 26, 2020

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Mar 26, 2020

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

@cottsay cottsay requested a review from dirk-thomas March 26, 2020 03:58
@cottsay cottsay marked this pull request as ready for review March 26, 2020 03:58
@cottsay cottsay merged commit 337de7a into ros-infrastructure:master Mar 26, 2020
@cottsay cottsay deleted the rpm_import_upstream branch March 26, 2020 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants