From 144d640578c7c06c8e87c4b7b425a0d741d08565 Mon Sep 17 00:00:00 2001 From: Martin Riedl Date: Mon, 1 Jul 2024 23:46:13 +0200 Subject: [PATCH] ci: build on custom infrastructure --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f28be8..0f7dfea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,6 +10,8 @@ checks: script: - go fmt $(go list ./...) - go vet $(go list ./...) + tags: + - docker code coverage: stage: test @@ -26,6 +28,8 @@ code coverage: paths: - coverage.cov - coverage.html + tags: + - docker codecov.io: stage: test @@ -42,6 +46,8 @@ codecov.io: rules: - if: $CODECOV_TOKEN when: on_success + tags: + - docker # stage "sonarcloud" is only needed because of this issue: # https://gitlab.com/gitlab-org/gitlab/-/issues/30632 @@ -61,6 +67,8 @@ sonarcloud-check: - .sonar/cache script: - sonar-scanner + tags: + - docker allow_failure: true # build template @@ -71,6 +79,8 @@ sonarcloud-check: dependencies: [] script: - go build . + tags: + - docker darwin-amd64: extends: .compile