Compare commits
No commits in common. "5c658db77699e4cd9f3aa2d45e1057a3e5cb1c85" and "1104473546c0498b57ade8ee9d8d8a978cde58d1" have entirely different histories.
5c658db776
...
1104473546
3 changed files with 10 additions and 19 deletions
|
@ -6,6 +6,3 @@ insert_final_newline = true
|
|||
charset = utf-8
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.yml]
|
||||
indent_size = 2
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
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
|
|
@ -33,10 +33,19 @@ machinectl shell --uid forgejo-runner # <-- This is basically "sudo -Hi XXX" but
|
|||
```
|
||||
|
||||
```bash
|
||||
systemctl --user enable --now podman.socket podman
|
||||
systemctl enable --user podman.socket
|
||||
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
|
||||
|
@ -65,7 +74,6 @@ 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
|
||||
|
|
Loading…
Add table
Reference in a new issue