-
Notifications
You must be signed in to change notification settings - Fork 614
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
Issue-840: Create an RPM distribution #1068
Conversation
There are a few things which need to be changed here:
Also, I have a feeling this might need to be separated into a new project (maybe similar to
|
19e939f
to
b21200c
Compare
Build fixes.
Attach the produced `rpm` as a Maven artifact.
- Applied service fixes.
- Plugin cleanups.
- Plugin cleanups.
- Path fixes. [ci skip]
7a87a73
to
24729fc
Compare
- URL fixes [ci skip]
Would you like to give this a try? |
- Set the directories to `/opt/strongbox` and `/opt/strongbox-vault`. - Fixed the truncating of the long file names in the distributions. - Updated the `Jenkinsfile` to deploy the `rpm` to Github.
Fixes #840. Done by @v3rtumnus!
Rebased @v3rtumnus 's #855.
@v3rtumnus ,
Sorry for getting back to this with such a big delay (it's not typical for our project), but we had more pressing problems with our Spring Boot migration, as well as some issues with the parallelization of our tests. I have rebased your original pull request and pushed it to a different branch.
@steve-todorov , @v3rtumnus : Would you like to try this out?
@steve-todorov : We will have to come up with a build process in Jenkins that either runs separately on a CentOS/Opensuse node after
strongbox
has been built, or make the Jenkins nodes haverpmbuild
on them.Tasks:
master
.master
.maven-assembly-plugin
in thestrongbox-parent
to3.1.1
.rpm-maven-plugin
output therpm
undertarget
, (instead oftarget/rpm/strongbox-distribution/RPMS/noarch
).rpm
as a Maven artifact.Drop the timestamp from the RPM's version.[Not possible].rpm
to use/opt
.lib
directory contains a ton of dependencies which shouldn't be there.rpm
build in a Maven profile, which is triggered by invokingmvn clean install -Pbuild-rpm
.Make the[Not possible]finalName
of the RPM follow the RPM naming when deploying to Github.Useful
rpm
commands:strongbox
package is installed: