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
Branches main
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:
- 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'
linters:
image: golangci/golangci-lint:latest
lint:
image: golangci/golangci-lint:v1.50.1
stage: test
tags:
- amd64-docker
script:
- go version
- golangci-lint --version
- golangci-lint run
before_script:
- ln -s /builds /go/src/gitlab.com
- cd /go/src/gitlab.com/${CI_PROJECT_PATH}
unit tests:
image: golang:1.21.5
image: golang:1.20.5
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.20.5
stage: test
tags:
- amd64-docker
before_script:
- ln -s /builds /go/src/gitlab.com
- cd /go/src/gitlab.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
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