Improve packages (#6085)

This commit is contained in:
qwerty287
2026-02-17 23:43:04 +01:00
committed by GitHub
parent 853f7a551b
commit a50d59e8b7
6 changed files with 16 additions and 6 deletions

View File

@@ -3,7 +3,7 @@ arch: amd64
platform: linux
version: ${VERSION_NUMBER}
description: Woodpecker Agent
homepage: https://github.com/woodpecker-ci/woodpecker
homepage: https://woodpecker-ci.org/
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
@@ -14,3 +14,8 @@ contents:
dst: /usr/local/lib/systemd/system/woodpecker-agent.service
- src: ./nfpm/woodpecker-agent.env.example
dst: /etc/woodpecker/woodpecker-agent.env.example
- dst: /var/lib/woodpecker/
type: dir
file_info:
owner: woodpecker
group: woodpecker

View File

@@ -3,7 +3,7 @@ arch: amd64
platform: linux
version: ${VERSION_NUMBER}
description: Woodpecker CLI
homepage: https://github.com/woodpecker-ci/woodpecker
homepage: https://woodpecker-ci.org/
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: utils

View File

@@ -3,7 +3,7 @@ arch: amd64
platform: linux
version: ${VERSION_NUMBER}
description: Woodpecker Server
homepage: https://github.com/woodpecker-ci/woodpecker
homepage: https://woodpecker-ci.org/
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
@@ -14,3 +14,8 @@ contents:
dst: /usr/local/lib/systemd/system/woodpecker-server.service
- src: ./nfpm/woodpecker-server.env.example
dst: /etc/woodpecker/woodpecker-server.env.example
- dst: /var/lib/woodpecker/
type: dir
file_info:
owner: woodpecker
group: woodpecker

View File

@@ -1,7 +1,7 @@
# Example for a woodpecker-agent.env file
# Check the documentation for the agent:
# https://woodpecker-ci.org/docs/administration/agent-config
# https://woodpecker-ci.org/docs/administration/configuration/agent
# Add all required environment variables for your setup in the form of VARIABLE=value
VARIABLE=value

View File

@@ -1,7 +1,7 @@
# Example for a woodpecker-server.env file
# Check the documentation for the server:
# https://woodpecker-ci.org/docs/administration/server-config
# https://woodpecker-ci.org/docs/administration/configuration/server
# Add all required environment variables for your setup in the form of VARIABLE=value
VARIABLE=value

View File

@@ -1,6 +1,6 @@
[Unit]
Description=WoodpeckerCI server
Documentation=https://woodpecker-ci.org/docs/administration/server-config
Documentation=https://woodpecker-ci.org/docs/administration/configuration/server
Requires=network.target
After=network.target
ConditionFileNotEmpty=/etc/woodpecker/woodpecker-server.env