Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gNMI Target
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
gNMI Target
Commits
2cc40f9b
Commit
2cc40f9b
authored
6 months ago
by
Martin Stiemerling
Browse files
Options
Downloads
Patches
Plain Diff
Linter upgrade fixes
parent
f0934994
No related branches found
No related tags found
1 merge request
!87
Linter upgrade fixes
Pipeline
#228528
failed
6 months ago
Stage: build
Stage: analyze
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
.golangci.yml
+3
-3
3 additions, 3 deletions
.golangci.yml
Makefile
+1
-1
1 addition, 1 deletion
Makefile
with
6 additions
and
6 deletions
.gitlab-ci.yml
+
2
−
2
View file @
2cc40f9b
...
@@ -4,7 +4,7 @@ stages:
...
@@ -4,7 +4,7 @@ stages:
variables
:
variables
:
IMAGE_PATH
:
"
${CI_REGISTRY_IMAGE}"
IMAGE_PATH
:
"
${CI_REGISTRY_IMAGE}"
GOLANG_VERSION
:
"
1.2
2
"
GOLANG_VERSION
:
"
1.2
3
"
.build
:
&build
.build
:
&build
stage
:
build
stage
:
build
...
@@ -38,7 +38,7 @@ build-gnmi-target-debian:
...
@@ -38,7 +38,7 @@ build-gnmi-target-debian:
<<
:
*build
<<
:
*build
code-quality
:
code-quality
:
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.
59.1
-alpine
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golangci/golangci-lint:v1.
61.0
-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
...
...
This diff is collapsed.
Click to expand it.
.golangci.yml
+
3
−
3
View file @
2cc40f9b
variables
:
variables
:
GOLANG_VERSION
:
"
1.2
2
"
GOLANG_VERSION
:
"
1.2
3
"
run
:
run
:
go
:
$GOLANG_VERSION
go
-version
:
$GOLANG_VERSION
concurrency
:
8
concurrency
:
8
timeout
:
20m
timeout
:
20m
issues-exit-code
:
1
issues-exit-code
:
1
...
@@ -51,7 +51,7 @@ linters:
...
@@ -51,7 +51,7 @@ linters:
-
bidichk
-
bidichk
-
durationcheck
-
durationcheck
-
errorlint
-
errorlint
-
export
loop
ref
-
copy
loop
var
-
grouper
-
grouper
-
makezero
-
makezero
-
misspell
-
misspell
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
1
−
1
View file @
2cc40f9b
...
@@ -8,7 +8,7 @@ GOSDN_PRG := $(MAKEFILE_DIR)$(TOOLS_DIR)
...
@@ -8,7 +8,7 @@ GOSDN_PRG := $(MAKEFILE_DIR)$(TOOLS_DIR)
GOPATH
:=
$(
~/go
)
GOPATH
:=
$(
~/go
)
GOBIN
:=
$(
GOSDN_PRG
)
GOBIN
:=
$(
GOSDN_PRG
)
GOLANGCI_LINT_VERSION
=
v1.
59
.0
GOLANGCI_LINT_VERSION
=
v1.
61
.0
GOCMD
=
go
GOCMD
=
go
GOBUILD
=
$(
GOCMD
)
build
GOBUILD
=
$(
GOCMD
)
build
...
...
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