Merge pull request 'Upgrade Gitea to 28.4.0 and Actions runner to 6.1.0' (#716) from chore/upgrade_gitea-runner into master

Reviewed-on: #716
This commit was merged in pull request #716.
This commit is contained in:
raucao committed 2026-12-02 11:00:55 +00:00
commit 1ecf29e676
3 files changed
+21 -6

No files matched your search

+9
View File
@@ -2,6 +2,15 @@
This file is used to list changes made in each version of the kosmos_gitea cookbook.
# 0.3.10
- Upgrade Gitea from 28.3.0 to 28.4.0 (maintenance/security release, no `app.ini`
changes).
- Upgrade the Gitea Actions runner from 5.4.0 to 6.1.0. Breaking: 6.0.0 removed
the `builtin:checkout` action, which we map to `actions/checkout@v6` via
`runner.action_replacements`. 6.1.0 runs JavaScript actions on a Node.js 24
that the runner downloads and mounts into jobs.
# 0.3.9
- Move the bot-blocking configuration out of the cookbook and into the
@@ -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
+1 -1
View File
@@ -4,7 +4,7 @@ maintainer_email 'ops@kosmos.org'
license 'MIT'
description 'Installs/configures Gitea'
long_description 'Installs/configures Gitea'
version '0.3.9'
version '0.3.10'
chef_version '>= 14.0'
depends "firewall"