diff --git a/.editorconfig b/.editorconfig index 9141329..24184c3 100644 --- a/.editorconfig +++ b/.editorconfig @@ -6,3 +6,6 @@ insert_final_newline = true charset = utf-8 indent_style = space indent_size = 4 + +[*.yml] +indent_size = 2 \ No newline at end of file diff --git a/.forgejo/workflows/ipv6test.yml b/.forgejo/workflows/ipv6test.yml new file mode 100644 index 0000000..28cd86c --- /dev/null +++ b/.forgejo/workflows/ipv6test.yml @@ -0,0 +1,14 @@ +--- +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + ipv6: + runs-on: docker + steps: + - run: | + apt update; apt install --yes curl + curl -s -o /dev/null https://ipv6.google.com diff --git a/docs/hosting-runners.md b/docs/hosting-runners.md index 3ef5bbe..dc990bc 100644 --- a/docs/hosting-runners.md +++ b/docs/hosting-runners.md @@ -33,19 +33,10 @@ machinectl shell --uid forgejo-runner # <-- This is basically "sudo -Hi XXX" but ``` ```bash -systemctl enable --user podman.socket +systemctl --user enable --now podman.socket podman echo 'export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock' >> ~/.profile ``` -#### Automatic podman cleanup on reboot - -```bash -crontab -e -``` -```cronexp -@reboot podman system cleanup --all --force -``` - ### 4. Install the forgejo-runner ```bash @@ -74,6 +65,7 @@ Or, if you're volunteering another runner for our instance, please contact us to ```bash # As forgejo-runner forgejo-runner generate-config > config.yml +# You should open the config.yml and enable IPv6 support! (Your cloud host might charge extra for IPv4 connectivity) # We're about to enter secrets into the terminal, disable history: set +o history