ci: build on custom infrastructure
This commit is contained in:
parent
85ab140761
commit
144d640578
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,8 @@ checks:
|
|||
script:
|
||||
- go fmt $(go list ./...)
|
||||
- go vet $(go list ./...)
|
||||
tags:
|
||||
- docker
|
||||
|
||||
code coverage:
|
||||
stage: test
|
||||
|
@ -26,6 +28,8 @@ code coverage:
|
|||
paths:
|
||||
- coverage.cov
|
||||
- coverage.html
|
||||
tags:
|
||||
- docker
|
||||
|
||||
codecov.io:
|
||||
stage: test
|
||||
|
@ -42,6 +46,8 @@ codecov.io:
|
|||
rules:
|
||||
- if: $CODECOV_TOKEN
|
||||
when: on_success
|
||||
tags:
|
||||
- docker
|
||||
|
||||
# stage "sonarcloud" is only needed because of this issue:
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/issues/30632
|
||||
|
@ -61,6 +67,8 @@ sonarcloud-check:
|
|||
- .sonar/cache
|
||||
script:
|
||||
- sonar-scanner
|
||||
tags:
|
||||
- docker
|
||||
allow_failure: true
|
||||
|
||||
# build template
|
||||
|
@ -71,6 +79,8 @@ sonarcloud-check:
|
|||
dependencies: []
|
||||
script:
|
||||
- go build .
|
||||
tags:
|
||||
- docker
|
||||
|
||||
darwin-amd64:
|
||||
extends: .compile
|
||||
|
|
Loading…
Add table
Reference in a new issue