Merge pull request 'Upgrade Gitea to 1.16.5' (#400) from chore/upgrade_gitea into master

Reviewed-on: #400
feature/kvm_guest_role
raucao 4 months ago
commit ae342106c9
  1. 4
      site-cookbooks/kosmos_gitea/attributes/default.rb
  2. 7
      site-cookbooks/kosmos_gitea/recipes/default.rb

@ -1,7 +1,7 @@
gitea_version = "1.16.3"
gitea_version = "1.16.5"
node.default["kosmos_gitea"]["version"] = gitea_version
node.default["kosmos_gitea"]["binary_url"] = "https://dl.gitea.io/gitea/#{gitea_version}/gitea-#{gitea_version}-linux-amd64"
node.default["kosmos_gitea"]["binary_checksum"] = "626c7da554efcfd3abd88b0355e3adf55d7f0941a01e058b2d4f5923d0d5b7c3"
node.default["kosmos_gitea"]["binary_checksum"] = "c0fb4107dc4debf08e6e27fd3383e06dc232ccb410123179c7ae8d7cec60765f"
node.default["kosmos_gitea"]["nginx"]["domain"] = "gitea.kosmos.org"
node.default["kosmos_gitea"]["working_directory"] = "/var/lib/gitea"
node.default["kosmos_gitea"]["port"] = 3000

@ -124,3 +124,10 @@ firewall_rule 'gitea' do
protocol :tcp
command :allow
end
# Hack-fix until we can disable auto-generation of archives
# TODO https://gitea.kosmos.org/kosmos/chef/issues/395
cron 'delete auto-generated repo file archives' do
minute '*/15'
command 'rm -rf /var/lib/gitea/data/repo-archive/* >/dev/null 2>&1'
end

Loading…
Cancel
Save