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 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 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: | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue