From 96cc7b49911562997bdff83df9fc8c2cc64b12d0 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Wed, 4 Oct 2023 16:54:14 +0200 Subject: [PATCH] default runner is v3.0.1 --- README.md | 4 ++-- action.yml | 4 ++-- forgejo-runner.sh | 2 +- testdata/example-if-cancel/.forgejo/workflows/test.yml | 2 +- testdata/example-if-fail/.forgejo/workflows/test.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2da9cb1..2b18601 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ The forgejo-test-helper.sh script is available to help test and debug actions. Creates the repository `$forgejo/root/testrepo` and populates it with the content of the `testrepo` directory. The SHA of the tip of the repository is in the output, on a line starting with `sha=`. -* `forgejo-test-helper.sh build_runner $forgejo/forgejo/runner v3.0.0` +* `forgejo-test-helper.sh build_runner $forgejo/forgejo/runner v3.0.1` Builds the forgejo runner from source in `./forgejo-runner/forgejo-runner`. `export PATH=$(pwd)/forgejo-runner:$PATH` will ensure that calling `forgejo-runner.sh` will use this binary instead of downloading a released version of the runner. @@ -48,7 +48,7 @@ It can only be run on the `self-hosted` platform, running on a host with LXC ins | user | Administrator user name | `false` | root | | password | Administrator password | `false` | admin1234 | | runner | Runner git repository | `false` | https://code.forgejo.org/forgejo/runner | -| runner-version | Runner version | `false` | v2.5.0 | +| runner-version | Runner version | `false` | v3.0.1 | | container | Name of the container running the Forgejo instance | `false` | forgejo | | lxc-ip-prefix | Class C IP prefix used by LXC | `false` | 10.0.23 | diff --git a/action.yml b/action.yml index 95840df..086d9e9 100644 --- a/action.yml +++ b/action.yml @@ -21,7 +21,7 @@ description: | Creates the repository `$forgejo/root/testrepo` and populates it with the content of the `testrepo` directory. The SHA of the tip of the repository is in the output, on a line starting with `sha=`. - * `forgejo-test-helper.sh build_runner $forgejo/forgejo/runner v3.0.0` + * `forgejo-test-helper.sh build_runner $forgejo/forgejo/runner v3.0.1` Builds the forgejo runner from source in `./forgejo-runner/forgejo-runner`. `export PATH=$(pwd)/forgejo-runner:$PATH` will ensure that calling `forgejo-runner.sh` will use this binary instead of downloading a released version of the runner. @@ -52,7 +52,7 @@ inputs: default: 'https://code.forgejo.org/forgejo/runner' runner-version: description: 'Runner version' - default: 'v2.5.0' + default: 'v3.0.1' container: description: 'Name of the container running the Forgejo instance' default: 'forgejo' diff --git a/forgejo-runner.sh b/forgejo-runner.sh index dd9de5d..4c955b6 100755 --- a/forgejo-runner.sh +++ b/forgejo-runner.sh @@ -41,7 +41,7 @@ function reload() { function setup() { local runner_repository="${1:-https://code.forgejo.org/forgejo/runner}" - local version="${2:-v2.5.0}" + local version="${2:-v3.0.1}" local forgejo="${3:-http://$(cat forgejo-ip):3000/}" dependencies diff --git a/testdata/example-if-cancel/.forgejo/workflows/test.yml b/testdata/example-if-cancel/.forgejo/workflows/test.yml index 6ae5dbd..5a92198 100644 --- a/testdata/example-if-cancel/.forgejo/workflows/test.yml +++ b/testdata/example-if-cancel/.forgejo/workflows/test.yml @@ -2,7 +2,7 @@ # As of Forgejo v1.20 running this example would require using the web # endpoints because there is no API to do the same. # -# It was manually tested to **not work** with Forgejo v1.20 & runner 2.5.0 +# It was manually tested to **not work** with Forgejo v1.21 & runner 3.0.1 # on: [push] diff --git a/testdata/example-if-fail/.forgejo/workflows/test.yml b/testdata/example-if-fail/.forgejo/workflows/test.yml index 4c0e5af..7720b00 100644 --- a/testdata/example-if-fail/.forgejo/workflows/test.yml +++ b/testdata/example-if-fail/.forgejo/workflows/test.yml @@ -13,7 +13,7 @@ jobs: # # This is documented in GitHub Actions and does not work in Forgejo Actions - # as of 3.0.0. + # as of 3.0.1. # # If you have a chain of dependent jobs, failure() returns true if any ancestor job fails. #