Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cache
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaia-X
Trust Services API
cache
Commits
dbd5780e
Commit
dbd5780e
authored
2 years ago
by
Lyuben Penkovski
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
deployment/ci/Dockerfile
+1
-1
1 addition, 1 deletion
deployment/ci/Dockerfile
deployment/compose/Dockerfile
+1
-1
1 addition, 1 deletion
deployment/compose/Dockerfile
internal/config/config.go
+1
-1
1 addition, 1 deletion
internal/config/config.go
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
3
−
3
View file @
dbd5780e
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
deployment/ci/Dockerfile
+
1
−
1
View file @
dbd5780e
FROM
golang:1.19-alpine3.15
as
builder
FROM
golang:1.19
.3
-alpine3.15
as
builder
RUN
apk add git
...
...
This diff is collapsed.
Click to expand it.
deployment/compose/Dockerfile
+
1
−
1
View file @
dbd5780e
FROM
golang:1.19
FROM
golang:1.19
.3
ENV
GO111MODULE=on
...
...
This diff is collapsed.
Click to expand it.
internal/config/config.go
+
1
−
1
View file @
dbd5780e
...
...
@@ -38,7 +38,7 @@ type metricsConfig struct {
}
type
authConfig
struct
{
Enabled
bool
`envconfig:"AUTH_ENABLED" default:"
tru
e"`
Enabled
bool
`envconfig:"AUTH_ENABLED" default:"
fals
e"`
JwkURL
string
`envconfig:"AUTH_JWK_URL"`
RefreshInterval
time
.
Duration
`envconfig:"AUTH_REFRESH_INTERVAL" default:"1h"`
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment