mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-21 17:36:59 -05:00
admin(actions): the latest stable runner is 3.4.1
This commit is contained in:
parent
131300c912
commit
359caf8476
2 changed files with 9 additions and 9 deletions
|
@ -94,9 +94,9 @@ Each `Forgejo runner` release is published for all supported architectures as:
|
||||||
Download the latest [binary release](https://code.forgejo.org/forgejo/runner/releases) and verify its signature:
|
Download the latest [binary release](https://code.forgejo.org/forgejo/runner/releases) and verify its signature:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64
|
$ wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.4.1/forgejo-runner-3.4.1-linux-amd64
|
||||||
$ chmod +x forgejo-runner
|
$ chmod +x forgejo-runner
|
||||||
$ wget -O forgejo-runner.asc https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64.asc
|
$ wget -O forgejo-runner.asc https://code.forgejo.org/forgejo/runner/releases/download/v3.4.1/forgejo-runner-3.4.1-linux-amd64.asc
|
||||||
$ gpg --keyserver keys.openpgp.org --recv EB114F5E6C0DC2BCDD183550A4B61A2DC5923710
|
$ gpg --keyserver keys.openpgp.org --recv EB114F5E6C0DC2BCDD183550A4B61A2DC5923710
|
||||||
$ gpg --verify forgejo-runner.asc forgejo-runner
|
$ gpg --verify forgejo-runner.asc forgejo-runner
|
||||||
Good signature from "Forgejo <contact@forgejo.org>"
|
Good signature from "Forgejo <contact@forgejo.org>"
|
||||||
|
@ -111,14 +111,14 @@ are built from the Dockerfile which is [found in the source
|
||||||
directory](https://code.forgejo.org/forgejo/runner/src/branch/main/Dockerfile). It contains the `forgejo-runner` binary.
|
directory](https://code.forgejo.org/forgejo/runner/src/branch/main/Dockerfile). It contains the `forgejo-runner` binary.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker run --rm code.forgejo.org/forgejo/runner:3.3.0 forgejo-runner --version
|
$ docker run --rm code.forgejo.org/forgejo/runner:3.4.1 forgejo-runner --version
|
||||||
forgejo-runner version v3.3.0
|
forgejo-runner version v3.4.1
|
||||||
```
|
```
|
||||||
|
|
||||||
It does not run as root:
|
It does not run as root:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ docker run --rm code.forgejo.org/forgejo/runner:3.3.0 id
|
$ docker run --rm code.forgejo.org/forgejo/runner:3.4.1 id
|
||||||
uid=1000 gid=1000 groups=1000
|
uid=1000 gid=1000 groups=1000
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -158,7 +158,7 @@ services:
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
image: 'code.forgejo.org/forgejo/runner:3.3.0'
|
image: 'code.forgejo.org/forgejo/runner:3.4.1'
|
||||||
links:
|
links:
|
||||||
- docker-in-docker
|
- docker-in-docker
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -245,7 +245,7 @@ environment. They need to be installed and configured independently.
|
||||||
```shell
|
```shell
|
||||||
$ lxc-helpers.sh lxc_container_run forgejo-runners -- sudo --user debian bash
|
$ lxc-helpers.sh lxc_container_run forgejo-runners -- sudo --user debian bash
|
||||||
$ sudo apt-get install docker.io wget gnupg2
|
$ sudo apt-get install docker.io wget gnupg2
|
||||||
$ wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-amd64
|
$ wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.4.1/forgejo-runner-amd64
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -275,7 +275,7 @@ The `Forgejo runner` needs to connect to a `Forgejo` instance and must be regist
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
forgejo-runner register --no-interactive --token {TOKEN} --name runner --instance https://next.forgejo.org
|
forgejo-runner register --no-interactive --token {TOKEN} --name runner --instance https://next.forgejo.org
|
||||||
INFO Registering runner, arch=amd64, os=linux, version=3.3.0.
|
INFO Registering runner, arch=amd64, os=linux, version=3.4.1.
|
||||||
INFO Runner registered successfully.
|
INFO Runner registered successfully.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -442,7 +442,7 @@ lxc-helpers.sh lxc_container_run forgejo-runners -- sudo --user debian bash
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y wget emacs-nox
|
sudo apt-get install -y wget emacs-nox
|
||||||
lxc-helpers.sh lxc_prepare_environment
|
lxc-helpers.sh lxc_prepare_environment
|
||||||
sudo wget -O /usr/local/bin/forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.3.0/forgejo-runner-3.3.0-linux-amd64
|
sudo wget -O /usr/local/bin/forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.4.1/forgejo-runner-3.4.1-linux-amd64
|
||||||
sudo chmod +x /usr/local/bin/forgejo-runner
|
sudo chmod +x /usr/local/bin/forgejo-runner
|
||||||
echo 'export TERM=vt100' >> .bashrc
|
echo 'export TERM=vt100' >> .bashrc
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue