This commit is contained in:
2024-05-05 10:05:11 -05:00
parent 722d963839
commit 52116ff6c9
6 changed files with 97 additions and 135 deletions

View File

@@ -1,6 +1,7 @@
stages:
- compliance
- deploy
- build
- validate
- publish
variables:
GO_VERSION: "1.22"
@@ -8,29 +9,10 @@ variables:
SYFT_VERSION: "v1.3.0"
GRYPE_VERSION: "v0.77.2"
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"
include:
- template: Security/Secret-Detection.gitlab-ci.yml
- project: 'developerdurp/yml'
ref: 'main'
file:
- 'pipelines/go-build.yml'
- 'pipelines/linter.yml'