mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-28 17:54:29 +01:00
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
This commit is contained in:
parent
4732aa6782
commit
888a2f7fa1
1 changed files with 5 additions and 0 deletions
|
@ -9,10 +9,12 @@ variables:
|
||||||
CACHE_COMPRESSION_LEVEL: fastest
|
CACHE_COMPRESSION_LEVEL: fastest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
test:cargo:
|
test:cargo:
|
||||||
stage: "test"
|
stage: "test"
|
||||||
needs: []
|
needs: []
|
||||||
image: "rust:latest"
|
image: "rust:latest"
|
||||||
|
tags: ["docker"]
|
||||||
variables:
|
variables:
|
||||||
CARGO_HOME: "cargohome"
|
CARGO_HOME: "cargohome"
|
||||||
cache:
|
cache:
|
||||||
|
@ -43,6 +45,7 @@ test:cargo:
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
interruptible: true
|
interruptible: true
|
||||||
image: "rust:latest"
|
image: "rust:latest"
|
||||||
|
tags: ["docker"]
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- cargohome
|
- cargohome
|
||||||
|
@ -103,6 +106,7 @@ build:cargo:aarch64-unknown-linux-gnu:
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
interruptible: true
|
interruptible: true
|
||||||
image: "rust:latest"
|
image: "rust:latest"
|
||||||
|
tags: ["docker"]
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- cargohome
|
- cargohome
|
||||||
|
@ -149,6 +153,7 @@ publish:package:
|
||||||
rules:
|
rules:
|
||||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
|
tags: ["docker"]
|
||||||
variables:
|
variables:
|
||||||
GIT_STRATEGY: "none" # Don't need a clean copy of the code, we just operate on artifacts
|
GIT_STRATEGY: "none" # Don't need a clean copy of the code, we just operate on artifacts
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue