Skip to content

Commit 796d684

Browse files
bump min go version required
1 parent 5532b64 commit 796d684

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.drone.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ steps:
5151

5252
- name: checks-backend
5353
pull: always
54-
image: golang:1.14
54+
image: golang:1.15
5555
commands:
5656
- make checks-backend
5757
depends_on: [lint-backend]
@@ -64,7 +64,7 @@ steps:
6464

6565
- name: build-backend-no-gcc
6666
pull: always
67-
image: golang:1.13 # this step is kept as the lowest version of golang that we support
67+
image: golang:1.14 # this step is kept as the lowest version of golang that we support
6868
environment:
6969
GO111MODULE: on
7070
GOPROXY: off

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ HAS_GO = $(shell hash $(GO) > /dev/null 2>&1 && echo "GO" || echo "NOGO" )
2525
COMMA := ,
2626

2727
XGO_VERSION := go-1.15.x
28-
MIN_GO_VERSION := 001013000
29-
MIN_NODE_VERSION := 010013000
28+
MIN_GO_VERSION := 001014000
29+
MIN_NODE_VERSION := 010014000
3030

3131
DOCKER_IMAGE ?= gitea/gitea
3232
DOCKER_TAG ?= latest

cmd/web_letsencrypt.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ func runLetsEncrypt(listenAddr, domain, directory, email string, m http.Handler)
2121
// Due to docker port mapping this can't be checked programatically
2222
// TODO: these are placeholders until we add options for each in settings with appropriate warning
2323
enableHTTPChallenge := true
24-
enableTLSALPNChallenge := false // set to false as this is default prior to using certmagic
24+
enableTLSALPNChallenge := true
2525

2626
magic := certmagic.NewDefault()
27+
magic.Storage = &certmagic.FileStorage{Path: directory}
2728
myACME := certmagic.NewACMEManager(magic, certmagic.ACMEManager{
2829
Email: email,
2930
Agreed: setting.LetsEncryptTOS,
3031
DisableHTTPChallenge: !enableHTTPChallenge,
3132
DisableTLSALPNChallenge: !enableTLSALPNChallenge,
32-
Storage: &certmagic.FileStorage{Path: directory},
3333
})
3434

3535
magic.Issuer = myACME

docs/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ params:
1919
author: The Gitea Authors
2020
website: https://docs.gitea.io
2121
version: 1.13.0
22-
minGoVersion: 1.13
22+
minGoVersion: 1.14
2323
goVersion: 1.15
2424
minNodeVersion: 10.13
2525

0 commit comments

Comments
 (0)