Update "internal" label to "fighter"
All checks were successful
Deploy to Fighter / Deploy-to-Fighter (push) Successful in 4s
Deploy to Druid / Deploy-to-Druid (push) Successful in 5s

This commit is contained in:
Joey Hafner 2024-02-13 21:15:32 -08:00
parent 6671faf4d7
commit 05e2d2b754
3 changed files with 11 additions and 3 deletions

View File

@ -7,7 +7,7 @@ on:
jobs:
Deploy-to-Fighter:
runs-on: internal
runs-on: fighter
steps:
- name: Pull latest code onto Fighter via SSH
uses: appleboy/ssh-action@master

View File

@ -26,4 +26,12 @@ Allow migrating from specific domains.
```
[migrations]
ALLOWED_DOMAINS = gitlab.jafner.net, *.github.com, github.com
```
```
# Re-register Gitea Runners
To force the runners to re-register (to apply updated labels, for example).
1. Stop and remove the containers. Run `docker ps -aq --filter name="gitea_runner-*" | xargs docker stop | xargs docker rm`.
2. Delete the `.runner` files for each runner. Run `find ~/data/gitea/ -name ".runner" -delete`.
3. Bring the runners back up. Run `docker compose up -d` from the gitea directory.

View File

@ -1,4 +1,4 @@
CONFIG_FILE=/config.yaml
GITEA_INSTANCE_URL=https://gitea.jafner.tools
GITEA_RUNNER_NAME=fighter1
GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster,internal,fighter
GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster,fighter