feat(ci): migrate testing and releasing to components
This commit is contained in:
parent
1adcf316de
commit
162e562bc6
3 changed files with 3 additions and 29 deletions
|
|
@ -7,12 +7,6 @@ stages:
|
|||
|
||||
# include jobs
|
||||
include:
|
||||
|
||||
# linting
|
||||
- component: "$CI_SERVER_FQDN/components/golanglint/golanglint@v1.0.0"
|
||||
|
||||
# testing
|
||||
- local: ".gitlab/testing.yaml"
|
||||
|
||||
# releaseing
|
||||
- local: ".gitlab/releasing.yaml"
|
||||
- component: "$CI_SERVER_FQDN/components/golanglint/linting@v2.0.5"
|
||||
- component: "$CI_SERVER_FQDN/components/golanglint/testing@v2.0.5"
|
||||
- component: "$CI_SERVER_FQDN/components/golanglint/releasing@v2.0.5"
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
|
||||
releasing:
|
||||
stage: "releasing"
|
||||
image:
|
||||
name: "goreleaser/goreleaser:v2.10.2"
|
||||
entrypoint: [""]
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG'
|
||||
variables:
|
||||
GITLAB_TOKEN: '$GORELEASER_GITLAB_TOKEN'
|
||||
script:
|
||||
- "goreleaser release --clean"
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
|
||||
testing:
|
||||
stage: "testing"
|
||||
image: "cr.simoncor.net/siempie/go-build:v25.06.03"
|
||||
script:
|
||||
- "go test ./..."
|
||||
Loading…
Add table
Add a link
Reference in a new issue