feat(ci): migrate testing and releasing to components

This commit is contained in:
Simon Cornet 2025-06-16 17:20:29 +02:00
commit 162e562bc6
3 changed files with 3 additions and 29 deletions

View file

@ -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"

View file

@ -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"

View file

@ -1,7 +0,0 @@
---
testing:
stage: "testing"
image: "cr.simoncor.net/siempie/go-build:v25.06.03"
script:
- "go test ./..."