replace drone ci
This commit is contained in:
@@ -1 +1,10 @@
|
|||||||
BASEDIR=
|
BASEDIR=
|
||||||
|
|
||||||
|
# gitea settings
|
||||||
|
GITTAG=
|
||||||
|
|
||||||
|
USER_UID=1000
|
||||||
|
USER_GID=1000
|
||||||
|
|
||||||
|
## preconfig for app.ini
|
||||||
|
## https://github.com/go-gitea/gitea/tree/main/contrib/environment-to-ini
|
||||||
11
README.md
11
README.md
@@ -59,6 +59,13 @@ git.example.com {
|
|||||||
Since version 1.19.x Gitea has a CI handler integrated.
|
Since version 1.19.x Gitea has a CI handler integrated.
|
||||||
These CI handler is mostly compatible with Github Actions.
|
These CI handler is mostly compatible with Github Actions.
|
||||||
|
|
||||||
|
### prepare
|
||||||
|
```
|
||||||
|
adduser act_runner
|
||||||
|
adduser act_runner docker
|
||||||
|
```
|
||||||
|
|
||||||
|
### Setup
|
||||||
Runner Setup: https://docs.gitea.com/usage/actions/act-runner
|
Runner Setup: https://docs.gitea.com/usage/actions/act-runner
|
||||||
Usage: https://docs.gitea.com/usage/actions/quickstart
|
Usage: https://docs.gitea.com/usage/actions/quickstart
|
||||||
|
|
||||||
@@ -77,7 +84,7 @@ chmod +x act_runner
|
|||||||
./act_runner --config config.yml daemon
|
./act_runner --config config.yml daemon
|
||||||
```
|
```
|
||||||
|
|
||||||
Service File
|
### Service File
|
||||||
```
|
```
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Gitea Actions runner
|
Description=Gitea Actions runner
|
||||||
@@ -85,7 +92,7 @@ Documentation=https://gitea.com/gitea/act_runner
|
|||||||
After=docker.service
|
After=docker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yaml
|
ExecStart=/usr/local/bin/act_runner daemon --config /etc/act_runner/config.yml
|
||||||
ExecReload=/bin/kill -s HUP $MAINPID
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
WorkingDirectory=/var/lib/act_runner
|
WorkingDirectory=/var/lib/act_runner
|
||||||
TimeoutSec=0
|
TimeoutSec=0
|
||||||
|
|||||||
Reference in New Issue
Block a user