From c80699ea3adfc51729dd86c2f54578bca5ae7f8a Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Tue, 17 Jan 2023 10:16:30 -0800 Subject: [PATCH] Update gitea to 1.18.3 This updates our Gitea installation to 1.18.3. We bump our go verison to 1.19 to match upstream, disable some newer features in app.ini, and synchronize our template files with upstream edits. Otherwise not much stood out to me in the changelog as far as backward compatibility goes: https://github.com/go-gitea/gitea/blob/v1.18.3/CHANGELOG.md Reviewers should look this over and double check that though. Change-Id: I9679fb4908621a065ab3a0bc670a0e96ea15f476 --- docker/gitea/Dockerfile | 4 +- .../custom/templates/base/head_navbar.tmpl | 93 +++++++++++-------- .../gitea/custom/templates/repo/header.tmpl | 78 ++++++++-------- playbooks/roles/gitea/templates/app.ini.j2 | 4 +- 4 files changed, 100 insertions(+), 79 deletions(-) diff --git a/docker/gitea/Dockerfile b/docker/gitea/Dockerfile index caece7d653..1454f04170 100644 --- a/docker/gitea/Dockerfile +++ b/docker/gitea/Dockerfile @@ -25,11 +25,11 @@ ################################### #Build stage -FROM docker.io/library/golang:1.18-bullseye AS build-env +FROM docker.io/library/golang:1.19-bullseye AS build-env LABEL maintainer="infra-root@openstack.org" -ARG GITEA_VERSION="v1.17.4" +ARG GITEA_VERSION="v1.18.3" ENV TAGS "bindata $TAGS" #Build deps diff --git a/docker/gitea/custom/templates/base/head_navbar.tmpl b/docker/gitea/custom/templates/base/head_navbar.tmpl index e13ee6bfc2..d21e57a7f0 100644 --- a/docker/gitea/custom/templates/base/head_navbar.tmpl +++ b/docker/gitea/custom/templates/base/head_navbar.tmpl @@ -1,8 +1,22 @@