Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would I host deb packages?

I'm currently working on a github project mainly focused on windows users, written in Java. Install4j allows for easy .deb/.rpm etc. package conversion... We could just ditribute the .deb on the download side, but when looking at gitlab a while ago, I saw, that Gitlab is using packagecloud.io as a hosting service for their packages (usingtheir own domain), so they can be updated using apt-get. My question is, if there is a free service working just like packagecloud.io (not launchpad or similar with baazar and that advanced stuff) which can either be hosted on our own server or a public server. Or if there even is a downloadable version of packagecloud.io which we could use on our own server.

like image 448
RoiEX Avatar asked Sep 17 '25 18:09

RoiEX


1 Answers

You can configure Travis CI to run extra commands when the build succeeds. You can put in some conditions, so that the deploy stage will only be run if commit happens to have a tag name. See the deployment documentation to get going.

A number of providers are officially supported, among which PackageCloud.io.

You might find the dpl utility useful, as it assists with writing and testing deployment settings.

like image 67
joepd Avatar answered Sep 20 '25 10:09

joepd