-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Better deb packaging #1575
Comments
I am currently packaging woodpecker for openSUSE (agent, server and CLI). I also found that the RPMs only contain the binary. I will try to come up with a working systemd unit for agent and server. Once I have them working, I'll post them here and maybe open a PR to add them to the repo. |
OK, so my first tests were done using the following systemd unit file
This requires to have the "environment variables", e.g.
I'll do some more testing and try to connect an agent, but I guess the service file might look similar... |
* add systemd unit file for server (`woodpecker-server.service`) * add systemd unit file for agent (`woodpecker-agent.service`) * add systemd unit files to nfpm package definitions * add etc config file examples fixes woodpecker-ci#1575
Clear and concise description of the problem
Deb packages of Woodpecker contain only a binary which basically makes the deb package near useless.
Suggested solution
Include Systemd service file and the example config into the deb package, so Woodpecker is ready to start out of the box (or at least after quick setup by changing a couple of lines in an already included config file) on the Debian systems.
Alternative
No response
Additional context
Not everyone can use Docker in their setup. LXC containers, for example, don't support Docker.
Validations
The text was updated successfully, but these errors were encountered: