Enable runners for pm.bsc.es/gitlab too
The old runners for the PM gitlab were disabled in configuration in the last outage, but they remained working until we reboot the node. With this change we enable the runners for both PM and gitlab.bsc.es. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
		
							parent
							
								
									7b22865a1e
								
							
						
					
					
						commit
						52b4cba900
					
				| @ -8,9 +8,8 @@ | |||||||
|   services.gitlab-runner = { |   services.gitlab-runner = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     settings.concurrent = 5; |     settings.concurrent = 5; | ||||||
|     services = { |     services = let | ||||||
|       gitlab-bsc-es-shell = { |       common-shell = { | ||||||
|         registrationConfigFile = config.age.secrets.gitlabToken.path; |  | ||||||
|         executor = "shell"; |         executor = "shell"; | ||||||
|         tagList = [ "nix" "xeon" ]; |         tagList = [ "nix" "xeon" ]; | ||||||
|         registrationFlags = [ |         registrationFlags = [ | ||||||
| @ -21,8 +20,7 @@ | |||||||
|           SHELL = "${pkgs.bash}/bin/bash"; |           SHELL = "${pkgs.bash}/bin/bash"; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|       gitlab-bsc-es-docker = { |       common-docker = { | ||||||
|         registrationConfigFile = config.age.secrets.gitlabToken.path; |  | ||||||
|         dockerImage = "debian:stable"; |         dockerImage = "debian:stable"; | ||||||
|         tagList = [ "docker" "xeon" ]; |         tagList = [ "docker" "xeon" ]; | ||||||
|         registrationFlags = [ |         registrationFlags = [ | ||||||
| @ -34,6 +32,21 @@ | |||||||
|           http_proxy = "http://localhost:23080"; |           http_proxy = "http://localhost:23080"; | ||||||
|         }; |         }; | ||||||
|       }; |       }; | ||||||
|  |     in { | ||||||
|  |       # For gitlab.bsc.es | ||||||
|  |       gitlab-bsc-es-shell = common-shell // { | ||||||
|  |         registrationConfigFile = config.age.secrets.gitlabToken.path; | ||||||
|  |       }; | ||||||
|  |       gitlab-bsc-es-docker = common-docker // { | ||||||
|  |         registrationConfigFile = config.age.secrets.gitlabToken.path; | ||||||
|  |       }; | ||||||
|  |       # For pm.bsc.es/gitlab | ||||||
|  |       gitlab-pm-shell = common-shell // { | ||||||
|  |         registrationConfigFile = config.age.secrets.ovniToken.path; | ||||||
|  |       }; | ||||||
|  |       gitlab-pm-docker = common-docker // { | ||||||
|  |         registrationConfigFile = config.age.secrets.ovniToken.path; | ||||||
|  |       }; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user