-
Notifications
You must be signed in to change notification settings - Fork 439
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
Rpm repo workflow #5278
Closed
Closed
Rpm repo workflow #5278
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deb repo workflow
Rpm repo workflow
To be resubmitted as some changes entered that do not belong. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes TheSCInitiative/bounties#1, please review and send feedback.
Description of the Change
The change implements a new workflow that allows to generate and manage an RPM repo.
Versions
Support is implemented currently for:
More versions or distros rpm-based can be included as necessary.
Channels
Two channels will be available:
Both are uploaded to the https://boinc.berkeley.edu/dl/linux url, which can however be changed in the
workflow environment BASEREPO.
To add stable and alpha channel download the repository definition file, eg.:
And install it in the dnf/yum/zypper folder for repositories.
Supported operations
Two operations are implemented:
Repository update with new package
Repository update with package remove
The managing of the repo is done by:
If for some reason any step fails, the published repo remains untouched, unless the allow_repo_create workflow parameter is true, in that case the repo is recreated losing
the previous state.
Signing key
In addition the public key under https://boinc.berkeley.edu/dl/linux///boinc.gpg (name can be changed in workflow environment PUBKEY) must be imported for the repo commands to work correctly.
The sign keys are provided via github secret and are always removed on workflow finish.
Secrets
Three Github secrets are necessary for correct operation:
Integration
Currently the workflow only has manual triggering implemented, but can be integrated into the linux.yml flow if deemed necessary.
Testing
For convenience, under the
rpmrepo
dir, twoDockerfile
have been prepared to execute the steps necessary to install the repo and a package, example execution:docker build -t fc38-boinc --build-arg PACKAGE=boinc-linux-client --build-arg VERSION=1.0.0-1 -f ./Dockerfile.fedora .
Please refer to the Dockerfile for additional parameters available.
Release Notes
Workflow for RPM repository management