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

Update .gitlab-ci.yml to prev version before Eclipse helm changes

parent ca4430f1
No related branches found
No related tags found
No related merge requests found
Pipeline #69637 failed with stages
in 1 minute and 36 seconds
variables:
HELPERS_FILE: docker-build.yml
APP_HELM_NAME: infohub
DOCKER_FILE: deployment/ci/Dockerfile
stages: stages:
- compile
- test - test
- build
- manifest
- deploy
before_script: include:
- ln -s /builds /go/src/gitlab.eclipse.org - project: '${HELPERS_PATH}'
- cd /go/src/gitlab.eclipse.org/${CI_PROJECT_PATH} file: '${HELPERS_FILE}'
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
linters: lint:
image: golangci/golangci-lint:latest image: golangci/golangci-lint:v1.50.1
stage: test stage: test
tags:
- amd64-docker
script: script:
- go version
- golangci-lint --version - golangci-lint --version
- golangci-lint run - golangci-lint run
before_script:
- ln -s /builds /go/src/gitlab.com
- cd /go/src/gitlab.com/${CI_PROJECT_PATH}
unit tests: unit tests:
image: golang:1.21.5 image: golang:1.20.5
extends: .gotest
stage: test stage: test
script: tags:
- go version - amd64-docker
- go test -race ./... -coverprofile=coverage.out before_script: []
- go tool cover -func=coverage.out
coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/' coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/'
govulncheck: govulncheck:
image: golang:1.21.5 image: golang:1.20.5
stage: test stage: test
tags:
- amd64-docker
before_script:
- ln -s /builds /go/src/gitlab.com
- cd /go/src/gitlab.com/${CI_PROJECT_PATH}
script: script:
- go version - go version
- go install golang.org/x/vuln/cmd/govulncheck@latest - go install golang.org/x/vuln/cmd/govulncheck@latest
- govulncheck ./... - 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
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