summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEarl Warren <contact@earl-warren.org>2023-10-15 00:03:53 +0200
committerdachary <dachary@noreply.code.forgejo.org>2023-10-15 00:03:53 +0200
commita441c04a13712d88a141c848f40c436cb2088867 (patch)
tree9b9a9d4f33514e0e6a8e9af609c87d5d146215ea /README.md
parentMerge pull request 'examples/docker-compose: add Quick Start' (#91) from earl... (diff)
downloadforgejo-runner-a441c04a13712d88a141c848f40c436cb2088867.tar.xz
forgejo-runner-a441c04a13712d88a141c848f40c436cb2088867.zip
[FORGEJO] update the setup-forgejo instructions to use utils/upgrade-runner.sh (#94)
this is less error prone and less manual steps Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/94 Reviewed-by: dachary <dachary@noreply.code.forgejo.org> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index d054902..4e681aa 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,10 @@ The Forgejo runner depends on [a fork of ACT](https://code.forgejo.org/forgejo/a
Assuming the modifications to the [Forgejo runner](https://code.forgejo.org/forgejo/runner) are pushed to a fork in a branch named `wip-runner-change`, a pull request will verify it compiles and the binary is sane (running `forgejo-runner --version`). It will not verify that it is able to properly run jobs when connected to a live Forgejo instance.
-For end to end testing, a branch should be pushed to a fork of the [setup-forgejo action](https://code.forgejo.org/actions/setup-forgejo) with a [modification to the tests](https://code.forgejo.org/actions/setup-forgejo/src/commit/ae7f03683b7b05c7d9c6aaeacaf27843de0366a4/.forgejo/workflows/integration.yml#L10-L19), similar to:
+For end to end testing, a branch should be pushed to a fork of the [setup-forgejo action](https://code.forgejo.org/actions/setup-forgejo) where the changes from the following command are committed:
-```yaml
-#
-# Uncomment the following for a shortcut to debugging the Forgejo runner.
-# It will build the runner from a designated repository and branch instead of
-# downloading it from a canonical release.
-#
-./forgejo-test-helper.sh build_runner https://code.forgejo.org/earl-warren/runner wip-runner-change
+```sh
+utils/upgrade-runner.sh https://code.forgejo.org/earl-warren/runner @wip-runner-change
```
Where https://code.forgejo.org/earl-warren/runner is the URL of the Forgejo runner fork and `wip-runner-change` is the branch where the changes under test were pushed. When they do the `wip-runner-change` branch can be discarded.