Merge pull request 'Upgrade Gitea Runner to 5.2.2' (#686) from chore/upgrade_gitea-runner into master
Reviewed-on: #686
This commit was merged in pull request #686.
This commit is contained in:
4 files changed
+20
-3
No files matched your search
@@ -2,6 +2,20 @@
|
||||
|
||||
This file is used to list changes made in each version of the kosmos_gitea cookbook.
|
||||
|
||||
# 0.3.4
|
||||
|
||||
- Upgrade the Gitea Actions runner from 5.0.0 to 5.2.2. No `config.yaml` changes
|
||||
were required.
|
||||
- Runner services are now restarted automatically when the runner binary is
|
||||
upgraded (previously a manual restart was needed).
|
||||
- Workflow-side behavior changes to be aware of (no cookbook change): the cache
|
||||
and artifact servers now answer `HEAD` on GET routes, no longer redirect
|
||||
trailing slashes or answer `OPTIONS`; build contexts no longer carry
|
||||
`security.capability` xattrs, and an unreadable file in a build context is
|
||||
skipped with a warning instead of producing a truncated tar. The runner now
|
||||
builds on `connectrpc.com/connect/v2` and remains compatible with Gitea
|
||||
servers on connect v1.
|
||||
|
||||
# 0.3.3
|
||||
|
||||
- Upgrade the Gitea Actions runner from 4.0.0 to 5.0.0. No `config.yaml` changes
|
||||
|
||||
@@ -24,8 +24,8 @@ node.default["gitea"]["config"] = {
|
||||
}
|
||||
}
|
||||
|
||||
node.default["gitea"]["runner"]["version"] = "5.0.0"
|
||||
node.default["gitea"]["runner"]["checksum"] = "3201f520b48abd353261b723c1e6b9bb3a82a56cabd4063e58d1fa191bbc50b2"
|
||||
node.default["gitea"]["runner"]["version"] = "5.2.2"
|
||||
node.default["gitea"]["runner"]["checksum"] = "5a2639fd2a57feeba29a9b1fb0e941489f092a4fa681c7c333c0372731248b63"
|
||||
node.default["gitea"]["runner"]["cache_base_port"] = 8088
|
||||
node.default["gitea"]["runner"]["config"] = {
|
||||
"runner" => {
|
||||
|
||||
@@ -4,7 +4,7 @@ maintainer_email 'ops@kosmos.org'
|
||||
license 'MIT'
|
||||
description 'Installs/configures Gitea'
|
||||
long_description 'Installs/configures Gitea'
|
||||
version '0.3.3'
|
||||
version '0.3.4'
|
||||
chef_version '>= 14.0'
|
||||
|
||||
depends "firewall"
|
||||
|
||||
@@ -29,6 +29,9 @@ remote_file "/usr/local/bin/gitea_runner" do
|
||||
source download_url
|
||||
checksum node["gitea"]["runner"]["checksum"]
|
||||
mode "0750"
|
||||
runners.each do |runner|
|
||||
notifies :restart, "service[gitea-runner-#{runner["org"]}]", :delayed
|
||||
end
|
||||
end
|
||||
|
||||
directory "#{working_directory}/runners" do
|
||||
|
||||
Reference in new issue
Block a user