Upgrade Gitea to 28.4.0 and Actions runner to 6.1.0
Gitea 28.4.0 is a maintenance/security release with no app.ini changes. Runner 6.0.0 removed the builtin:checkout action; map it to actions/checkout@v6 via runner.action_replacements so existing workflows keep working. 6.1.0 runs JavaScript actions on a Node.js 24 the runner downloads and mounts into jobs.
This commit is contained in:
3 files changed
+42
-6
No files matched your search
@@ -2,6 +2,36 @@
|
||||
|
||||
This file is used to list changes made in each version of the kosmos_gitea cookbook.
|
||||
|
||||
# 0.3.8
|
||||
|
||||
- Upgrade Gitea from 28.3.0 to 28.4.0. This is a maintenance release with no
|
||||
breaking changes and no `app.ini` changes; no configuration updates were
|
||||
required. Security fixes included: command execution through repository
|
||||
auto-initialization, disclosure of owner password hashes through the
|
||||
repository search, bypass of branch-protection file patterns via git-quoted
|
||||
file names, unlimited wrong TOTP attempts, and several missing permission
|
||||
checks (release attachments, PR reviews, AGit, OAuth2 token state, Git LFS
|
||||
with `REQUIRE_SIGNIN_VIEW`). Also fixed an Actions deadlock and job `if:`
|
||||
evaluation, plus a number of repository, issue and package bugs.
|
||||
- Upgrade the Gitea Actions runner from 5.4.0 to 6.1.0, skipping 5.4.1.
|
||||
- 6.0.0 is a breaking release: it removes the `builtin:checkout` action and
|
||||
requires Gitea 1.26.2 or newer (we run 28.4.0). We map `builtin:checkout` back
|
||||
to `actions/checkout@v6` with the new `runner.action_replacements` config, so
|
||||
repositories whose workflows still use it keep working without edits. Unlike
|
||||
`builtin:checkout`, `actions/checkout` is a JavaScript action, so jobs need a
|
||||
reachable GitHub (or a `github_mirror`) and a `node` runtime.
|
||||
- 6.1.0 runs JavaScript actions and `hashFiles()` on a pinned Node.js 24 that the
|
||||
runner downloads from nodejs.org (or `NODEJS_ORG_MIRROR`) on first use and
|
||||
bind-mounts read-only into job containers, so job images no longer need
|
||||
`node`. This adds a one-time outbound fetch from gitea-2 to nodejs.org; leave
|
||||
`runner.node_download` at its default, or set `runner.node_version` to pin a
|
||||
different version. No `config.yaml` keys were removed, so existing `capacity`,
|
||||
`container.network` and `cache` settings are unchanged.
|
||||
- Workflow-side behavior changes to be aware of (no cookbook change): job
|
||||
`timeout-minutes` follows GitHub's semantics, step summaries upload as each
|
||||
step ends, Docker actions join the job network, pinned action SHAs are
|
||||
verified, and several artifact/cache/composite-action bugs are fixed.
|
||||
|
||||
# 0.3.7
|
||||
|
||||
- Upgrade the Gitea Actions runner from 5.2.4 to 5.4.0. No `config.yaml` changes
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
node.default["gitea"]["version"] = "28.3.0"
|
||||
node.default["gitea"]["checksum"] = "5f834e8f04986f3b9206cf14743b5a6e6996ceddc238dac6409866ebda2a0686"
|
||||
node.default["gitea"]["version"] = "28.4.0"
|
||||
node.default["gitea"]["checksum"] = "154e775bd6bb589fc14cd93a689d8fbc64090aaa3ec537f0e3af298b13c6d386"
|
||||
node.default["gitea"]["repo"] = nil
|
||||
node.default["gitea"]["revision"] = nil
|
||||
node.default["gitea"]["working_directory"] = "/var/lib/gitea"
|
||||
@@ -24,12 +24,18 @@ node.default["gitea"]["config"] = {
|
||||
}
|
||||
}
|
||||
|
||||
node.default["gitea"]["runner"]["version"] = "5.4.0"
|
||||
node.default["gitea"]["runner"]["checksum"] = "9c790a1ca58d1f80872146043fecec3a2b03c4739bc87d5cdf9a63e4f8d88abe"
|
||||
node.default["gitea"]["runner"]["version"] = "6.1.0"
|
||||
node.default["gitea"]["runner"]["checksum"] = "c5100ff3c201163080fedd66153c0d80c2941e835ded2df627444ed78a9167d7"
|
||||
node.default["gitea"]["runner"]["cache_base_port"] = 8088
|
||||
node.default["gitea"]["runner"]["config"] = {
|
||||
"runner" => {
|
||||
"capacity" => 2
|
||||
"capacity" => 2,
|
||||
# Runner 6.0 removed the builtin:checkout action. Rewrite any workflow that
|
||||
# still uses it so it keeps working; actions/checkout is the replacement
|
||||
# upstream recommends. Entries match the whole `uses` value and apply in order.
|
||||
"action_replacements" => [
|
||||
{ "regex" => "builtin:checkout", "replacement" => "actions/checkout@v6" }
|
||||
]
|
||||
},
|
||||
"container" => {
|
||||
# Empty: the runner auto-creates an isolated user-defined network per job, so
|
||||
|
||||
@@ -4,7 +4,7 @@ maintainer_email 'ops@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/configures Gitea'
|
||||
long_description 'Installs/configures Gitea'
|
||||
version '0.3.7'
|
||||
version '0.3.8'
|
||||
chef_version '>= 14.0'
|
||||
|
||||
depends "firewall"
|
||||
|
||||
Reference in new issue
Block a user