Skip to content
Snippets Groups Projects

renamed old .gitlab-ci.yml and created new one

Merged Valeri Fikov requested to merge add-cicd into main
2 files
+ 63
9
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 38
9
variables:
APP_HELM_NAME: signer
DOCKER_FILE: deployment/ci/Dockerfile
GOOGLE_IMAGE: ${GOOGLE_LIGHT_REGISTRY_URL}/gaiax/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
stages:
- compile
- test
- build
- manifest
- deploy
before_script:
- ln -s /builds /go/src/code.vereign.com
- cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
include:
- project: 'gaiax/tsa/ci-helpers'
file: 'docker-build.yml'
- template: 'Workflows/Branch-Pipelines.gitlab-ci.yml'
lint:
image: golangci/golangci-lint:v1.46.2
image: golangci/golangci-lint:v1.44.2
stage: test
tags:
- amd64-docker
script:
- golangci-lint --version
- golangci-lint run
before_script:
- ln -s /builds /go/src/code.vereign.com
- cd /go/src/code.vereign.com/${CI_PROJECT_PATH}
unit tests:
image: golang:1.17.10
image: golang:1.17.7
extends: .gotest
stage: test
tags:
- amd64-docker
script:
- go version
- go test -race ./... -coverprofile=coverage.out
- go tool cover -func=coverage.out
before_script: []
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
Loading