mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-09 16:51:34 -05:00
update
This commit is contained in:
parent
a73c5aba19
commit
7846749fde
2 changed files with 5 additions and 4 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
stages:
|
stages:
|
||||||
- compliance
|
- compliance
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
GOLANGCI-LINT-VERISON: "v1.55.2"
|
GO_VERSION: "1.20"
|
||||||
|
GOLANGCI_LINT_VERISON: "v1.55.2"
|
||||||
|
|
||||||
compliance:
|
compliance:
|
||||||
stage: compliance
|
stage: compliance
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,7 @@
|
||||||
.golang-build-api:
|
.golang-build-api:
|
||||||
variables:
|
variables:
|
||||||
GO-VERSION: "1.20"
|
|
||||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||||
image: registry.durp.info/golang:${GO-VERSION}
|
image: registry.durp.info/golang:${GO_VERSION}
|
||||||
script:
|
script:
|
||||||
- ./scripts/golang-build-api.sh
|
- ./scripts/golang-build-api.sh
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
@ -14,6 +13,6 @@
|
||||||
variables:
|
variables:
|
||||||
#GOPROXY: https://nexus.durp.info/repository/go/
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
||||||
CGO_ENABLED: 0
|
CGO_ENABLED: 0
|
||||||
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI-LINT-VERISON}
|
image: registry.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON}
|
||||||
script:
|
script:
|
||||||
- ./scripts/golang-lint.sh
|
- ./scripts/golang-lint.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue