From fac893f34aae4e50f064a6d80a9f348cb1ea41b4 Mon Sep 17 00:00:00 2001 From: cronekorkn Date: Thu, 20 Apr 2023 11:08:22 +0200 Subject: [PATCH] update gitea and use sha256_url --- bundles/gitea/items.py | 2 +- nodes/home.server.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bundles/gitea/items.py b/bundles/gitea/items.py index c5bf653..52f91a9 100644 --- a/bundles/gitea/items.py +++ b/bundles/gitea/items.py @@ -6,7 +6,7 @@ version = version=node.metadata.get('gitea/version') downloads['/usr/local/bin/gitea'] = { 'url': f'https://dl.gitea.io/gitea/{version}/gitea-{version}-linux-amd64', - 'sha256': node.metadata.get('gitea/sha256'), + 'sha256_url': '{url}.sha256', 'triggers': { 'svc_systemd:gitea:restart', }, diff --git a/nodes/home.server.py b/nodes/home.server.py index 142b254..56fca00 100644 --- a/nodes/home.server.py +++ b/nodes/home.server.py @@ -61,8 +61,7 @@ 'download_server': 'netcup.mails', }, 'gitea': { - 'version': '1.17.1', - 'sha256': 'eafd476ee2a303d758448314272add00898d045439ab0d353ff4286c5e63496f', + 'version': '1.19.1', 'domain': 'git.sublimity.de', 'conf': { 'mailer': {