woodpecker
woodpecker copied to clipboard
package it for alpine
make it posible to just install it via:
apk add woodpecker-server
for the server and config it via /etc/woodpecker/server.conf
workers via:
apk add woodpecker-agent
and config via /etc/woodpecker/agent.conf
:point_up: pkg dependency -> docker
if done we can git rm Dockerfile.agent.alpine Dockerfile.alpine
Packaging it for alpine and having an alpine image are two different things.
I personally prefer alpine images oder scratch images because you got a shell within the container for debugging and stuff like that.
Sounds like the following 3 methods of releasing woodpecker server and agent are requested:
- docker scratch image with the binary only (slim and nice for production usage)
- docker image based on alpine (nice for debugging as tboerger said)
- apk shipped to some registry to install via
apk add woodpecker-server
on existing alpine servers
Maybe releasing the cli as docker images and apk package would be nice as well.
@6543 Have you thought about using goreleaser? It is able to release binaries, docker images and apk / deb files. Docs In addition to that it can create changelogs from semantic versioning. The execution can be done automatically by running from woodpecker ci, so almost no manual interaction would be required to release new versions.
Exactly my thoughts!
Hi there.
I'm a maintainer of various packages for Alpine. I started work on packaging Woodpecker for Alpine many months ago, unfortunately other priorities got in the way. My intention at the time was to add it to the "testing" Alpine repo.
I'll dust off the old APKBUILD file I created and update it for 0.14.0 and see if I can get it into a usable state.
The advantage of having an official Alpine package it that it is then easy to use Woodpecker both on physical/VM machines and also in a Docker container (as you would only need "apk add woodpecker" in your Dockerfile).
@dermotbradley thanks for the update, good to hear one is working on it :)
Feel free to link related merge requests here or ask me things, discord prevered it its more trivial and other people do not care abaut (prevent github sending spam mails;) )
Hey @dermotbradley, is there any progress on this?
@qwerty287 someone else got there before me and created a package 1 year ago:
https://pkgs.alpinelinux.org/packages?name=woodpecker&branch=edge&repo=&arch=&maintainer=leso-kn
This is currently in the "testing" repo which means it is only available for Alpine Edge (development version) and not yet in any Alpine release.
uh nice I have a look :)
And if all is right ask if the maintainer want to move it to community :)
PS: if that's done we can close this issue here