chore(readme): explain how to use a locally built runner

This commit is contained in:
Earl Warren 2025-01-26 21:24:03 +01:00
parent 6717b76117
commit e38cd362d9
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -48,6 +48,13 @@ cd end-to-end
## Running from locally built binary
Before injecting a manually built binary, make sure a simple test was
run so that the directories are populated.
### Forgejo
From a checkout of https://codeberg.org/forgejo/forgejo/
```sh
make TAGS='bindata sqlite sqlite_unlock_notify' generate forgejo
cp -a forgejo /srv/forgejo-binaries/forgejo-10.0
@ -55,6 +62,15 @@ cp -a forgejo /srv/forgejo-binaries/forgejo-10.0
It will be used whenever the version `10.0` is specified in a test.
### Forgejo runner
From a checkout of https://code.forgejo.org/forgejo/runner
```sh
make --always-make forgejo-runner
cp forgejo-runner /tmp/forgejo-end-to-end/forgejo-runner
```
## Running actions locally
To run and debug workflows from `actions/example-*`, from the root of