From 917032029862a7111b2c1d2f6d7a6fc56131618f Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 7 May 2024 17:46:14 +0200 Subject: [PATCH] ci: Update tags for shared linux and windows runners Use the Windows tags from the following article: https://docs.gitlab.com/ee/ci/runners/hosted_runners/windows.html The Windows runner are now extremely slow so moving them out of the pipeline/dependency chain. The Linux tags were removed with GitLab 17.0. But we need to use the new tags to avoid the generic jobs being picked up by specific runners, such as freebsd. https://about.gitlab.com/blog/2023/08/15/removing-tags-from-small-saas-runner-on-linux/ https://docs.gitlab.com/ee/update/deprecations.html#removal-of-tags-from-small-saas-runners-on-linux Signed-off-by: Jakub Jelen --- .gitlab-ci.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9a9f396..3ad5a985 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ workflow: make -j$(nproc) install # Do not use after_script as it does not make the targets fail tags: - - shared + - saas-linux-small-amd64 only: - merge_requests - branches @@ -115,7 +115,7 @@ review: # the format is not always matching our intentions allow_failure: true tags: - - shared + - saas-linux-small-amd64 only: - merge_requests @@ -353,7 +353,7 @@ fedora/mingw32: export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA" tags: - - shared + - saas-linux-small-amd64 except: - tags only: @@ -521,8 +521,12 @@ freebsd/openssl_1.1.1/x86_64: ############################################################################### # Visual Studio builds # ############################################################################### +# 2024-05-13: These jobs run out of the stages as they take extremely long and +# usually timeout with the update to Gitlab 17.0 .vs: - stage: test + stage: analysis + needs: [] + allow_failure: true cache: key: vcpkg.${CI_JOB_NAME} paths: @@ -533,8 +537,7 @@ freebsd/openssl_1.1.1/x86_64: - cmake --build . - ctest --output-on-failure tags: - - windows - - shared-windows + - saas-windows-medium-amd64 only: - merge_requests - branches @@ -601,7 +604,7 @@ coverity: --form description="CI build" https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME tags: - - shared + - saas-linux-small-amd64 only: refs: - master