Skip to content
Snippets Groups Projects
Commit dbd5780e authored by Lyuben Penkovski's avatar Lyuben Penkovski
Browse files

Disable auth middleware by default and update Go to 1.19.3

parent 085e937a
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ include:
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
lint:
image: golangci/golangci-lint:v1.50.0
image: golangci/golangci-lint:v1.50.1
stage: test
tags:
- amd64-docker
......@@ -28,7 +28,7 @@ lint:
- cd /go/src/gitlab.com/${CI_PROJECT_PATH}
unit tests:
image: golang:1.19
image: golang:1.19.3
extends: .gotest
stage: test
tags:
......@@ -36,7 +36,7 @@ unit tests:
before_script: []
govulncheck:
image: golang:1.19
image: golang:1.19.3
stage: test
tags:
- amd64-docker
......
FROM golang:1.19-alpine3.15 as builder
FROM golang:1.19.3-alpine3.15 as builder
RUN apk add git
......
FROM golang:1.19
FROM golang:1.19.3
ENV GO111MODULE=on
......
......@@ -38,7 +38,7 @@ type metricsConfig struct {
}
type authConfig struct {
Enabled bool `envconfig:"AUTH_ENABLED" default:"true"`
Enabled bool `envconfig:"AUTH_ENABLED" default:"false"`
JwkURL string `envconfig:"AUTH_JWK_URL"`
RefreshInterval time.Duration `envconfig:"AUTH_REFRESH_INTERVAL" default:"1h"`
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment