From 162e562bc6afd2e35d26c9554f09a2caaed3a7e2 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 16 Jun 2025 17:20:29 +0200 Subject: [PATCH] feat(ci): migrate testing and releasing to components --- .gitlab-ci.yml | 12 +++--------- .gitlab/releasing.yaml | 13 ------------- .gitlab/testing.yaml | 7 ------- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 .gitlab/releasing.yaml delete mode 100644 .gitlab/testing.yaml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 12d571e..2d0db5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" diff --git a/.gitlab/releasing.yaml b/.gitlab/releasing.yaml deleted file mode 100644 index c66a09a..0000000 --- a/.gitlab/releasing.yaml +++ /dev/null @@ -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" diff --git a/.gitlab/testing.yaml b/.gitlab/testing.yaml deleted file mode 100644 index 0d5886f..0000000 --- a/.gitlab/testing.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- - -testing: - stage: "testing" - image: "cr.simoncor.net/siempie/go-build:v25.06.03" - script: - - "go test ./..."