mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 23:01:00 -05:00
Merge pull request 'upgrade to runner 2.5.0' (#44) from earl-warren/setup-forgejo:wip-test-runner-act into main
Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/44 Reviewed-by: dachary <dachary@noreply.code.forgejo.org>
This commit is contained in:
commit
bc4139d0b1
4 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ jobs:
|
|||
- run: |
|
||||
set -x
|
||||
./forgejo-dependencies.sh install_docker
|
||||
for version in 1.19.4-0 1.20.1-0 ; do
|
||||
for version in 1.19.4-0 1.20.3-0 ; do
|
||||
echo "=========================== launching forgejo v$version =========="
|
||||
./forgejo.sh setup root admin1234 codeberg.org/forgejo/forgejo $version
|
||||
./forgejo.sh teardown
|
||||
|
|
|
@ -45,7 +45,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.4.0 |
|
||||
| runner-version | Runner version | `false` | v2.5.0 |
|
||||
| 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 -->
|
||||
|
|
|
@ -49,7 +49,7 @@ inputs:
|
|||
default: 'https://code.forgejo.org/forgejo/runner'
|
||||
runner-version:
|
||||
description: 'Runner version'
|
||||
default: 'v2.4.0'
|
||||
default: 'v2.5.0'
|
||||
container:
|
||||
description: 'Name of the container running the Forgejo instance'
|
||||
default: 'forgejo'
|
||||
|
|
|
@ -41,7 +41,7 @@ function reload() {
|
|||
|
||||
function setup() {
|
||||
local runner_repository="${1:-https://code.forgejo.org/forgejo/runner}"
|
||||
local version="${2:-v2.4.0}"
|
||||
local version="${2:-v2.5.0}"
|
||||
local forgejo="${3:-http://$(cat forgejo-ip):3000/}"
|
||||
|
||||
dependencies
|
||||
|
|
Loading…
Reference in a new issue