by allan_s · 10y ago · 0 comments
We're thinking about using FPM to create the debian package Package which is the retrieve as the artifacts of the gitlab-ci build stage
And then to have a separate service that will receive a webhook at the end of the (successful) build, to retrieve the artifacts and update a repository using aptly.
Does it seems the right way or is there some much simpler solution ?
This works well but the s3+cron part is probably not the smartest way and publication can take some time (like 5-10min).
Of course it is possible, it's just ridiculous amount of work. It's much easier to build package with proper tools in the first place.
Depending what it is you're building, using the proper debian tooling (dpkg-buildpackage, etc) is not that much harder than FPM, and cooperating with the system gives you a lot of goodies for free (sourcedebs, cowbuilder, etc).