1
0
Fork 0
mirror of https://code.forgejo.org/actions/setup-forgejo synced 2024-09-19 09:56:16 +00:00

default runner is v3.0.1

This commit is contained in:
Earl Warren 2023-10-04 16:54:14 +02:00
parent 2657043de5
commit 96cc7b4991
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 7 additions and 7 deletions

View file

@ -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 |
<!-- action-docs-inputs -->

View file

@ -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'

View file

@ -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

View file

@ -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]

View file

@ -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.
#