35 lines
590 B
YAML
35 lines
590 B
YAML
stages:
|
|
- compliance
|
|
- deploy
|
|
|
|
variables:
|
|
GO_VERSION: "1.22"
|
|
GOLANGCI_LINT_VERISON: "v1.58.0"
|
|
|
|
gitlab_generic_package:
|
|
stage: deploy
|
|
needs:
|
|
- job: compliance
|
|
trigger:
|
|
include:
|
|
- project: 'developerdurp/yml'
|
|
ref: 'main'
|
|
file:
|
|
- 'pipelines/gitlab_generic_packages.yml'
|
|
rules:
|
|
- if: '$PIPELINE =~ /gitlab/'
|
|
|
|
build_go:
|
|
stage: deploy
|
|
#needs:
|
|
# - job: compliance
|
|
trigger:
|
|
include:
|
|
- project: 'developerdurp/yml'
|
|
ref: 'main'
|
|
file:
|
|
- 'pipelines/golang.yml'
|
|
rules:
|
|
- exists:
|
|
- "go.mod"
|