Add Gitea Actions
All checks were successful
ShellCheck / shellcheck (push) Successful in 43s

This commit is contained in:
Mathieu Strypsteen 2023-11-18 09:32:44 +01:00
parent 740cd1f0ed
commit ac2f1470ef
8 changed files with 34 additions and 1 deletions

View 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

View file

@ -0,0 +1,2 @@
container:
docker_host: '-'

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,2 @@
[Service]
Environment=

View 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