Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
policy
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Code
Merge requests
2
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
policy
Commits
a15f14f0
Commit
a15f14f0
authored
1 year ago
by
Lyuben Penkovski
Browse files
Options
Downloads
Patches
Plain Diff
Update Go to 1.21.6 and update CI pipelines
parent
3f1bef69
Branches
main
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#69641
failed with stages
in 2 minutes and 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+49
-12
49 additions, 12 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
with
51 additions
and
14 deletions
.gitlab-ci.yml
+
49
−
12
View file @
a15f14f0
variables
:
HELPERS_FILE
:
docker-build.yml
APP_HELM_NAME
:
task
DOCKER_FILE
:
deployment/ci/Dockerfile
stages
:
-
compile
-
test
-
build
-
manifest
-
deploy
before_script
:
-
ln -s /builds /go/src/gitlab.eclipse.org
-
cd /go/src/gitlab.eclipse.org/${CI_PROJECT_PATH}
include
:
-
project
:
'
${HELPERS_PATH}'
file
:
'
${HELPERS_FILE}'
-
template
:
'
Workflows/Branch-Pipelines.gitlab-ci.yml'
lint
ers
:
lint
:
image
:
golangci/golangci-lint:latest
stage
:
test
tags
:
-
amd64-docker
before_script
:
-
ln -s /builds /go/src/code.vereign.com
-
cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
script
:
-
go version
-
golangci-lint --version
-
golangci-lint run
-
cd ./cmd/sync
-
golangci-lint run
unit tests
:
image
:
golang:1.21.5
image
:
golang:1.21.6
extends
:
.gotest
stage
:
test
script
:
-
go version
-
go test -race ./... -coverprofile=coverage.out
-
go tool cover -func=coverage.out
tags
:
-
amd64-docker
before_script
:
[]
coverage
:
'
/total:\s+\(statements\)\s+(\d+.\d+\%)/'
govulncheck
:
image
:
golang:1.21.
5
image
:
golang:1.21.
6
stage
:
test
tags
:
-
amd64-docker
before_script
:
-
ln -s /builds /go/src/code.vereign.com
-
cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
script
:
-
go version
-
go install golang.org/x/vuln/cmd/govulncheck@latest
-
govulncheck ./...
amd64
:
extends
:
.docker-build
stage
:
build
tags
:
-
amd64-docker
manifest
:
extends
:
.manifest-amd64
stage
:
manifest
cloud
:
extends
:
.manifest-cloud
stage
:
manifest
release
:
extends
:
.manifest-release
stage
:
manifest
This diff is collapsed.
Click to expand it.
deployment/ci/Dockerfile
+
1
−
1
View file @
a15f14f0
FROM
golang:1.21.
5
-alpine3.17
as
builder
FROM
golang:1.21.
6
-alpine3.17
as
builder
RUN
apk add git
...
...
This diff is collapsed.
Click to expand it.
deployment/compose/Dockerfile
+
1
−
1
View file @
a15f14f0
FROM
golang:1.21.
5
FROM
golang:1.21.
6
RUN
go
install
github.com/ysmood/kit/cmd/guard@v0.25.11
...
...
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