Skip to content
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

package it for alpine #233

Closed
6543 opened this issue Jun 28, 2021 · 9 comments · Fixed by #3746
Closed

package it for alpine #233

6543 opened this issue Jun 28, 2021 · 9 comments · Fixed by #3746
Assignees
Labels
documentation docu & docs
Milestone

Comments

@6543
Copy link
Member

6543 commented Jun 28, 2021

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
☝️ pkg dependency -> docker


if done we can git rm Dockerfile.agent.alpine Dockerfile.alpine

@6543 6543 self-assigned this Jun 28, 2021
@tboerger
Copy link
Contributor

tboerger commented Jul 1, 2021

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.

@anbraten
Copy link
Member

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.

@6543
Copy link
Member Author

6543 commented Jul 24, 2021

Exactly my thoughts!

@dermotbradley
Copy link

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).

@6543
Copy link
Member Author

6543 commented Aug 13, 2021

@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;) )

@6543 6543 assigned dermotbradley and unassigned 6543 Aug 13, 2021
@anbraten anbraten added build CI pipeline related feature add new functionality labels Sep 18, 2021
@anbraten anbraten added this to the 0.15.0 milestone Sep 23, 2021
@6543 6543 modified the milestones: 0.15.0, 0.16.0 Dec 1, 2021
@6543 6543 self-assigned this Mar 20, 2023
@anbraten anbraten removed this from the 1.0.0 milestone May 30, 2023
@qwerty287
Copy link
Contributor

Hey @dermotbradley, is there any progress on this?

@dermotbradley
Copy link

@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.

@6543
Copy link
Member Author

6543 commented Dec 25, 2023

uh nice I have a look :)

And if all is right ask if the maintainer want to move it to community :)

@6543
Copy link
Member Author

6543 commented Dec 25, 2023

PS: if that's done we can close this issue here

@6543 6543 added documentation docu & docs and removed feature add new functionality build CI pipeline related labels Jan 21, 2024
@qwerty287 qwerty287 added this to the 2.x.x milestone Mar 29, 2024
@qwerty287 qwerty287 mentioned this issue Jun 1, 2024
@qwerty287 qwerty287 modified the milestones: 2.x.x, 3.x.x Jun 6, 2024
@qwerty287 qwerty287 added this to the 2.6.0 milestone Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation docu & docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants