forgejo-runner

git clone git://git.lin.moe/forgejo-runner.git

  1# Release Notes
  2
  3## 4.0.0
  4
  5* Breaking change: fix the default configuration for `docker_host` is changed to [not mounting the docker server socket](https://code.forgejo.org/forgejo/runner/pulls/305).
  6* [Remove debug information from the setup of a workflow](https://code.forgejo.org/forgejo/runner/pulls/297).
  7* Fix [crash in some cases when the YAML structure is not as expected](https://code.forgejo.org/forgejo/runner/issues/267).
  8
  9## 3.5.1
 10
 11* Fix [CVE-2024-24557](https://nvd.nist.gov/vuln/detail/CVE-2024-24557)
 12* [Add report_interval option to config](https://code.forgejo.org/forgejo/runner/pulls/220) to allow setting the interval of status and log reports
 13
 14## 3.5.0
 15
 16* [Allow graceful shutdowns](https://code.forgejo.org/forgejo/runner/pulls/202): when receiving a signal (INT or TERM) wait for running jobs to complete (up to shutdown_timeout).
 17* [Fix label declaration](https://code.forgejo.org/forgejo/runner/pulls/176): Runner in daemon mode now takes labels found in config.yml into account when declaration was successful.
 18* [Fix the docker compose example](https://code.forgejo.org/forgejo/runner/pulls/175) to workaround the race on labels.
 19* [Fix the kubernetes dind example](https://code.forgejo.org/forgejo/runner/pulls/169).
 20* [Rewrite ::group:: and ::endgroup:: commands like github](https://code.forgejo.org/forgejo/runner/pulls/183).
 21* [Added opencontainers labels to the image](https://code.forgejo.org/forgejo/runner/pulls/195)
 22* [Upgrade the default container to node:20](https://code.forgejo.org/forgejo/runner/pulls/203)
 23
 24## 3.4.1
 25
 26* Fixes a regression introduced in 3.4.0 by which a job with no image explicitly set would
 27  [be bound to the host](https://code.forgejo.org/forgejo/runner/issues/165)
 28  network instead of a custom network (empty string in the configuration file).
 29
 30## 3.4.0
 31
 32Although this version is able to run [actions/upload-artifact@v4](https://code.forgejo.org/actions/upload-artifact/src/tag/v4) and [actions/download-artifact@v4](https://code.forgejo.org/actions/download-artifact/src/tag/v4), these actions will fail because it does not run against GitHub.com. A fork of those two actions with this check disabled is made available at:
 33
 34* https://code.forgejo.org/forgejo/upload-artifact/src/tag/v4
 35* https://code.forgejo.org/forgejo/download-artifact/src/tag/v4
 36
 37and they can be used as shown in [an example from the end-to-end test suite](https://code.forgejo.org/forgejo/end-to-end/src/branch/main/actions/example-artifacts-v4/.forgejo/workflows/test.yml).
 38
 39* When running against codeberg.org, the default poll frequency is 30s instead of 2s.
 40* Fix compatibility issue with actions/{upload,download}-artifact@v4.
 41* Upgrade ACT v1.20.0 which brings:
 42  * `[container].options` from the config file is exposed in containers created by the workflows
 43  * the expressions in the value of `jobs.<job-id>.runs-on` are evaluated
 44  * fix a bug causing the evaluated expression of `jobs.<job-id>.runs-on` to fail if it was an array
 45  * mount `act-toolcache:/opt/hostedtoolcache` instead of `act-toolcache:/toolcache`
 46  * a few improvements to the readability of the error messages displayed in the logs
 47  * `amd64` can be used instead of `x86_64` and `arm64` intead of `aarch64` when specifying the architecture
 48  * fixed YAML parsing bugs preventing dispatch workflows to be parsed correctly
 49  * add support for `runs-on.labels` which is equivalent to `runs-on` followed by a list of labels
 50  * the expressions in the service `ports` and `volumes` values are evaluated
 51  * network aliases are only supported when the network is user specified, not when it is provided by the runner
 52* If `[runner].insecure` is true in the configuration, insecure cloning actions is allowed
 53
 54## 3.3.0
 55
 56* Support IPv6 with addresses from a private range and NAT for
 57    docker:// with --enable-ipv6 and [container].enable_ipv6
 58    lxc:// always
 59
 60## 3.2.0
 61
 62* Support LXC container capabilities via `lxc:lxc://debian:bookworm:k8s` or  `lxc:lxc://debian:bookworm:docker lxc k8s`
 63* Update ACT v1.16.0 to resolve a [race condition when bootstraping LXC templates](https://code.forgejo.org/forgejo/act/pulls/23)
 64
 65## 3.1.0
 66
 67The `self-hosted` label that was hardwired to be a LXC container
 68running `debian:bullseye` was reworked and documented ([user guide](https://forgejo.org/docs/next/user/actions/#jobsjob_idruns-on) and [admin guide](https://forgejo.org/docs/next/admin/actions/#labels-and-runs-on)).
 69
 70There now are two different schemes: `lxc://` for LXC containers and
 71`host://` for running directly on the host.
 72
 73* Support the `host://` scheme for running directly on the host.
 74* Support the `lxc://` scheme in labels
 75* Update [code.forgejo.org/forgejo/act v1.14.0](https://code.forgejo.org/forgejo/act/pulls/19) to implement both self-hosted and LXC schemes
 76
 77## 3.0.3
 78
 79* Update [code.forgejo.org/forgejo/act v1.13.0](https://code.forgejo.org/forgejo/runner/pulls/106) to keep up with github.com/nektos/act
 80
 81## 3.0.2
 82
 83* Update [code.forgejo.org/forgejo/act v1.12.0](https://code.forgejo.org/forgejo/runner/pulls/106) to upgrade the node installed in the LXC container to node20
 84
 85## 3.0.1
 86
 87* Update [code.forgejo.org/forgejo/act v1.11.0](https://code.forgejo.org/forgejo/runner/pulls/86) to resolve a bug preventing actions based on node20 from running, such as [checkout@v4](https://code.forgejo.org/actions/checkout/src/tag/v4).
 88
 89## 3.0.0
 90
 91* Publish a rootless OCI image
 92* Refactor the release process
 93
 94## 2.5.0
 95
 96* Update [code.forgejo.org/forgejo/act v1.10.0](https://code.forgejo.org/forgejo/runner/pulls/71)
 97
 98## 2.4.0
 99
100* Update [code.forgejo.org/forgejo/act v1.9.0](https://code.forgejo.org/forgejo/runner/pulls/64)
101
102## 2.3.0
103
104* Add support for [offline registration](https://forgejo.org/docs/next/admin/actions/#offline-registration).