Compare commits
4 commits
1104473546
...
5c658db776
Author | SHA1 | Date | |
---|---|---|---|
5c658db776 | |||
3a84de38cb | |||
dbaaa0a16a | |||
b47e670e0b |
3 changed files with 19 additions and 10 deletions
|
@ -6,3 +6,6 @@ insert_final_newline = true
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_size = 2
|
14
.forgejo/workflows/ipv6test.yml
Normal file
14
.forgejo/workflows/ipv6test.yml
Normal file
|
@ -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
|
|
@ -33,19 +33,10 @@ machinectl shell --uid forgejo-runner # <-- This is basically "sudo -Hi XXX" but
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```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
|
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
|
### 4. Install the forgejo-runner
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -74,6 +65,7 @@ Or, if you're volunteering another runner for our instance, please contact us to
|
||||||
```bash
|
```bash
|
||||||
# As forgejo-runner
|
# As forgejo-runner
|
||||||
forgejo-runner generate-config > config.yml
|
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:
|
# We're about to enter secrets into the terminal, disable history:
|
||||||
set +o history
|
set +o history
|
||||||
|
|
Loading…
Add table
Reference in a new issue