mirror of
https://gitlab.durp.info/durfy/ci-includes/yml.git
synced 2026-05-09 00:31:33 -05:00
update
This commit is contained in:
parent
722d963839
commit
52116ff6c9
6 changed files with 97 additions and 135 deletions
38
pipeline.yml
38
pipeline.yml
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue