1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-09 15:41:10 +03:00

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 <jjelen@redhat.com>
This commit is contained in:
Jakub Jelen
2024-05-07 17:46:14 +02:00
committed by Andreas Schneider
parent 7f442afd57
commit 9170320298

View File

@@ -47,7 +47,7 @@ workflow:
make -j$(nproc) install make -j$(nproc) install
# Do not use after_script as it does not make the targets fail # Do not use after_script as it does not make the targets fail
tags: tags:
- shared - saas-linux-small-amd64
only: only:
- merge_requests - merge_requests
- branches - branches
@@ -115,7 +115,7 @@ review:
# the format is not always matching our intentions # the format is not always matching our intentions
allow_failure: true allow_failure: true
tags: tags:
- shared - saas-linux-small-amd64
only: only:
- merge_requests - merge_requests
@@ -353,7 +353,7 @@ fedora/mingw32:
export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA" export CI_COMMIT_RANGE="$CI_COMMIT_BEFORE_SHA..$CI_COMMIT_SHA"
tags: tags:
- shared - saas-linux-small-amd64
except: except:
- tags - tags
only: only:
@@ -521,8 +521,12 @@ freebsd/openssl_1.1.1/x86_64:
############################################################################### ###############################################################################
# Visual Studio builds # # 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: .vs:
stage: test stage: analysis
needs: []
allow_failure: true
cache: cache:
key: vcpkg.${CI_JOB_NAME} key: vcpkg.${CI_JOB_NAME}
paths: paths:
@@ -533,8 +537,7 @@ freebsd/openssl_1.1.1/x86_64:
- cmake --build . - cmake --build .
- ctest --output-on-failure - ctest --output-on-failure
tags: tags:
- windows - saas-windows-medium-amd64
- shared-windows
only: only:
- merge_requests - merge_requests
- branches - branches
@@ -601,7 +604,7 @@ coverity:
--form description="CI build" --form description="CI build"
https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME https://scan.coverity.com/builds?project=$COVERITY_SCAN_PROJECT_NAME
tags: tags:
- shared - saas-linux-small-amd64
only: only:
refs: refs:
- master - master