- /templates/docker.tpl.yml - /templates/gitlab.tpl.yml - /templates/golang.tpl.yml - /templates/nuget.tpl.yml - /templates/octopus.tpl.yml - /templates/sonarqube.tpl.yml - /templates/version.tpl.yml - /templates/helm.tpl.yml
19 lines
492 B
YAML
19 lines
492 B
YAML
.golang-build-api:
|
|
variables:
|
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
|
image: registry.internal.durp.info/golang:${GO_VERSION}
|
|
script:
|
|
- ./scripts/golang-build-api.sh
|
|
artifacts:
|
|
expire_in: 1 hour
|
|
paths:
|
|
- $CI_PROJECT_DIR/output
|
|
|
|
.golang-lint:
|
|
variables:
|
|
#GOPROXY: https://nexus.durp.info/repository/go/
|
|
CGO_ENABLED: 0
|
|
image: registry.internal.durp.info/golangci/golangci-lint:${GOLANGCI_LINT_VERISON}
|
|
script:
|
|
- ./scripts/golang-lint.sh
|