This commit is contained in:
parent
740cd1f0ed
commit
ac2f1470ef
8 changed files with 34 additions and 1 deletions
12
.gitea/workflows/shellcheck.yaml
Normal file
12
.gitea/workflows/shellcheck.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
name: ShellCheck
|
||||
on: [push]
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: debian-12
|
||||
steps:
|
||||
- name: Install ShellCheck
|
||||
run: apt-get update && apt-get install shellcheck
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Run ShellCheck
|
||||
run: shellcheck *.sh
|
2
container-config/act-runner/config.yaml
Normal file
2
container-config/act-runner/config.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
container:
|
||||
docker_host: '-'
|
|
@ -13,6 +13,6 @@ listeners:
|
|||
trusted_key_servers:
|
||||
- server_name: matrix.org
|
||||
suppress_key_server_warning: true
|
||||
turn_uris: ["turn:vps.strypsteen.com"]
|
||||
turn_uris: ['turn:vps.strypsteen.com']
|
||||
turn_allow_guests: false
|
||||
delete_stale_devices_after: 1y
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
[Container]
|
||||
Image=docker.io/gitea/act_runner
|
||||
LogDriver=none
|
||||
SecurityLabelDisable=true
|
||||
Volume=/var/lib/system-config/container-config/act-runner:/etc/act-runner:O
|
||||
Volume=/run/user/1500/podman/podman.sock:/run/docker.sock:Z
|
||||
Volume=act-runner.volume:/data:U,Z
|
||||
Tmpfs=/root/.cache
|
||||
Environment=CONFIG_FILE=/etc/act-runner/config.yaml
|
||||
Environment=GITEA_INSTANCE_URL=https://git.strypsteen.me
|
||||
Environment=GITEA_RUNNER_NAME=home
|
||||
Environment=GITEA_RUNNER_LABELS=debian-12:docker://node:bookworm
|
||||
Secret=GITEA_RUNNER_REGISTRATION_TOKEN,type=env
|
||||
AutoUpdate=registry
|
||||
[Install]
|
||||
WantedBy=default.target
|
|
@ -0,0 +1,2 @@
|
|||
[Service]
|
||||
Environment=
|
0
homeserver/var/lib/systemd/linger/act-runner
Normal file
0
homeserver/var/lib/systemd/linger/act-runner
Normal file
|
@ -3,4 +3,5 @@ set -e
|
|||
cp -R server/* /
|
||||
systemctl disable --now docker.socket rpm-ostree-countme.timer
|
||||
systemctl enable --now podman-auto-update.timer
|
||||
systemctl enable --global podman-auto-update.timer
|
||||
useradd -M containers || true
|
||||
|
|
Loading…
Add table
Reference in a new issue