diff options
author | Jonas Zohren <gitlab-jfowl-0ux98@sh14.de> | 2021-07-12 19:58:35 +0000 |
---|---|---|
committer | Jonas Zohren <gitlab-jfowl-0ux98@sh14.de> | 2021-07-12 19:58:35 +0000 |
commit | 888a2f7fa169d6f0fd13d0a36633814d10d42190 (patch) | |
tree | 215a26713a60be08992af4fe9a45058833ce6bee /.gitlab-ci.yml | |
parent | 4732aa678276173a9d7dae5dcf353622539bfedc (diff) | |
download | conduit-888a2f7fa169d6f0fd13d0a36633814d10d42190.zip |
Make CI run on famedly runners
By default, jobs without tags only run on CI runners configured to do so [1].
Conduit can use famedly runners, which are more powerfull than gitlab's runners, but require a tag on the job to run it there.
This commit tags each job with the "docker" tag.
On the famedly/conduit repo this means faster CI.
On other gitlab.com forks the normal ci.
Selfhosted gitlab's might need to add a "docker" tag to their runner.
[1]: https://docs.gitlab.com/ee/ci/runners/configure_runners.html#use-tags-to-limit-the-number-of-jobs-using-the-runner
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 005f0ee..14c10ed 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,10 +9,12 @@ variables: CACHE_COMPRESSION_LEVEL: fastest + test:cargo: stage: "test" needs: [] image: "rust:latest" + tags: ["docker"] variables: CARGO_HOME: "cargohome" cache: @@ -43,6 +45,7 @@ test:cargo: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' interruptible: true image: "rust:latest" + tags: ["docker"] cache: paths: - cargohome @@ -103,6 +106,7 @@ build:cargo:aarch64-unknown-linux-gnu: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' interruptible: true image: "rust:latest" + tags: ["docker"] cache: paths: - cargohome @@ -149,6 +153,7 @@ publish:package: rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' image: curlimages/curl:latest + tags: ["docker"] variables: GIT_STRATEGY: "none" # Don't need a clean copy of the code, we just operate on artifacts script: |