0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

address caesar comments

This commit is contained in:
Earl Warren 2023-08-26 22:23:42 +02:00 committed by Earl Warren
parent 86df6f07b2
commit ace3c8f8e9

View file

@ -22,7 +22,7 @@ to be installed separately.
### Default Actions URL ### Default Actions URL
In a [workflow](https://forgejo.org/docs/v1.20/user/actions/#glossary), when `uses:` does not specify an absolute URL, the In a [workflow](../../user/actions/#glossary), when `uses:` does not specify an absolute URL, the
value of `DEFAULT_ACTIONS_URL` is prepended to it. value of `DEFAULT_ACTIONS_URL` is prepended to it.
```yaml ```yaml
@ -49,20 +49,20 @@ even if it provides something different than what is expected.
## Forgejo runner ## Forgejo runner
The `Forgejo runner` is a daemon that fetch workflows to run from a The `Forgejo runner` is a daemon that fetches workflows to run from a
Forgejo instance, execute them, sends back with the logs and Forgejo instance, executes them, sends back with the logs and
ultimately reports its success or failure. ultimately reports its success or failure.
### Installation ### Installation
Each `Forgejo runner` releases is published for all supported architectures as: Each `Forgejo runner` release is published for all supported architectures as:
- [binaries](https://code.forgejo.org/forgejo/runner/releases) - [binaries](https://code.forgejo.org/forgejo/runner/releases)
- [OCI images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions) - [OCI images](https://code.forgejo.org/forgejo/-/packages/container/runner/versions)
#### Installation of the binary #### Installation of the binary
Download the latest [binary release](https://code.forgejo.org/forgejo/runner/releases) and verify their 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.0.0/forgejo-runner-amd64 $ wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v3.0.0/forgejo-runner-amd64
@ -99,8 +99,8 @@ to demonstrate how to install that OCI image to successfully run a workflow.
### Execution of the workflows ### Execution of the workflows
The `Forgejo runner` relies application containers (Docker, Podman, The `Forgejo runner` relies on application containers (Docker, Podman,
...) or system containers (LXC) to execute a workflow in an isolated etc) or system containers (LXC) to execute a workflow in an isolated
environment. They need to be installed and configured independently. environment. They need to be installed and configured independently.
- **Docker:** - **Docker:**
@ -118,8 +118,8 @@ environment. They need to be installed and configured independently.
``` ```
- **Podman:** - **Podman:**
While Podman is generally compatible to Docker, While Podman is generally compatible with Docker,
it does not run socket for managing containers by default it does not create a socket for managing containers by default
(because it doesn't usually need one). (because it doesn't usually need one).
If the Forgejo runner complains about "daemon Docker Engine socket not found", or "cannot ping the docker daemon", If the Forgejo runner complains about "daemon Docker Engine socket not found", or "cannot ping the docker daemon",