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

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

parent 924738a9
Branches main
No related tags found
No related merge requests found
Pipeline #69633 passed
variables:
HELPERS_FILE: docker-build.yml
APP_HELM_NAME: signer
DOCKER_FILE: deployment/ci/Dockerfile
stages:
- compile
- test
- build
- manifest
- deploy
include: include:
- project: 'eclipse/xfsc/dev-ops/ci-templates' - project: '${HELPERS_PATH}'
file: 'golang-standard-ci.yaml' file: '${HELPERS_FILE}'
ref: main - template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
#stages: lint:
# - test image: golangci/golangci-lint:latest
stage: test
#before_script: tags:
# - ln -s /builds /go/src/gitlab.eclipse.org - amd64-docker
# - cd /go/src/gitlab.eclipse.org/${CI_PROJECT_PATH} script:
- golangci-lint --version
#linters: - golangci-lint run
# image: golangci/golangci-lint:latest before_script:
# stage: test - ln -s /builds /go/src/gitlab.com
# script: - cd /go/src/gitlab.com/${CI_PROJECT_PATH}
# - go version
# - golangci-lint --version unit tests:
# - golangci-lint run image: golang:1.21.5
stage: test
#unit tests: tags:
# image: golang:1.21.5 - amd64-docker
# stage: test script:
# script: - go version
# - go version - go test $(go list ./... | grep -v /integration) -race -coverprofile=coverage.out
# - go test $(go list ./... | grep -v /integration) -race -coverprofile=coverage.out - go tool cover -func=coverage.out
# - go tool cover -func=coverage.out before_script:
# coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/' - ln -s /builds /go/src/gitlab.com
- cd /go/src/gitlab.com/${CI_PROJECT_PATH}
#govulncheck: coverage: '/total:\s+\(statements\)\s+(\d+.\d+\%)/'
# image: golang:1.21.5
# stage: test govulncheck:
# script: image: golang:1.21.5
# - go version stage: test
# - go install golang.org/x/vuln/cmd/govulncheck@latest tags:
# - govulncheck ./... - 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.
Please register or to comment