init new 6.3.1
This commit is contained in:
commit
2a26c123e7
3 changed files with 38 additions and 0 deletions
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Forgejo Runner
|
||||||
|
|
||||||
|
A daemon that connects to a Forgejo instance and runs jobs for continous integration. The installation and usage instructions are part of the Forgejo documentation.
|
11
files/forgejo-runner.service
Normal file
11
files/forgejo-runner.service
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Continuous integration for Forgejo
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=exec
|
||||||
|
ExecStart=/usr/bin/forgejo-runner -c /etc/forgejo-runner/config.yml daemon
|
||||||
|
PrivateDevices=yes
|
||||||
|
PrivateTmp=yes
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
24
package.yml
Normal file
24
package.yml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name : forgejo-runner
|
||||||
|
version : 6.3.1
|
||||||
|
release : 1
|
||||||
|
source :
|
||||||
|
- https://code.forgejo.org/forgejo/runner/archive/v6.3.1.tar.gz : 15b8f70a5d9825c5fa338c9570de5f4d8573a96e518e14b970eb19971b88cc77
|
||||||
|
homepage : https://code.forgejo.org/forgejo/runner
|
||||||
|
license : MIT
|
||||||
|
component : programming.tools
|
||||||
|
summary : CI/CD job runner for Forgejo
|
||||||
|
description: |
|
||||||
|
CI/CD job runner for Forgejo
|
||||||
|
builddeps :
|
||||||
|
- golang
|
||||||
|
build : |
|
||||||
|
go build \
|
||||||
|
-o forgejo-runner \
|
||||||
|
-ldflags "-X gitea.com/gitea/act_runner/internal/pkg/ver.version=6.3.1"
|
||||||
|
./forgejo-runner generate-config > config.yml
|
||||||
|
install : |
|
||||||
|
sed -i -e "s|file: \.runner|file: /etc/forgejo-runner/.runner|" config.yml
|
||||||
|
|
||||||
|
install -Dm755 forgejo-runner -t $installdir/usr/bin/
|
||||||
|
install -Dm644 config.yml -t $installdir/etc/forgejo-runner/
|
||||||
|
install -Dm644 $pkgfiles/forgejo-runner.service -t $installdir/usr/lib/systemd/system/
|
Loading…
Add table
Add a link
Reference in a new issue