Skip to content
Snippets Groups Projects
Commit 780fb28d authored by Malte Bauch's avatar Malte Bauch
Browse files

Merge branch 'istaester/update-container-base-to-go-1-17' into 'develop'

Bump container to Go version 1.17 and restore linter changes

See merge request !220
parents bdf3915c ee9ec834
Branches
Tags
6 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!228Merge develop into stmakurz_http_server,!220Bump container to Go version 1.17 and restore linter changes,!138Develop
Pipeline #88999 failed
...@@ -2,7 +2,7 @@ variables: ...@@ -2,7 +2,7 @@ variables:
GOSDN_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}" GOSDN_IMAGE: "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}"
GOSDN_TESTING_IMAGE: "${CI_REGISTRY_IMAGE}:testing_${CI_COMMIT_SHA}" GOSDN_TESTING_IMAGE: "${CI_REGISTRY_IMAGE}:testing_${CI_COMMIT_SHA}"
CEOS_IMAGE: "$CI_REGISTRY_IMAGE/ceos:latest" CEOS_IMAGE: "$CI_REGISTRY_IMAGE/ceos:latest"
GOLANG_VERSION: "1.16" GOLANG_VERSION: "1.17"
stages: stages:
- build - build
......
code-quality: code-quality:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:latest-alpine image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.42-alpine
stage: analyze stage: analyze
script: script:
# writes golangci-lint output to gl-code-quality-report.json # writes golangci-lint output to gl-code-quality-report.json
...@@ -10,4 +10,3 @@ code-quality: ...@@ -10,4 +10,3 @@ code-quality:
paths: paths:
- gl-code-quality-report.json - gl-code-quality-report.json
needs: [] needs: []
\ No newline at end of file
...@@ -27,9 +27,13 @@ linters: ...@@ -27,9 +27,13 @@ linters:
enable: enable:
- gofmt - gofmt
- goimports - goimports
- revive
- gocyclo - gocyclo
- govet - govet
- unused
- staticcheck
- typecheck
- revive
- whitespace
issues: issues:
exclude-use-default: false exclude-use-default: false
max-issues-per-linter: 0 max-issues-per-linter: 0
......
ARG GOLANG_VERSION=1.16 ARG GOLANG_VERSION=1.17
ARG BUILDARGS ARG BUILDARGS
ARG $GITLAB_PROXY ARG $GITLAB_PROXY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment