nixos/gitea: Maybe working CI setup
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				CI / Check Nix flake (push) Successful in 21m49s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	CI / Check Nix flake (push) Successful in 21m49s
				
			This commit is contained in:
		@@ -156,7 +156,7 @@
 | 
			
		||||
              cpus = 8;
 | 
			
		||||
              threads = 2;
 | 
			
		||||
            };
 | 
			
		||||
            memory = 16384;
 | 
			
		||||
            memory = 32768;
 | 
			
		||||
            networks.vms.mac = "52:54:00:d5:d9:c6";
 | 
			
		||||
            cleanShutdown.timeout = 120;
 | 
			
		||||
            drives = [ ] ++ (optionals (!config.my.build.isDevVM) [
 | 
			
		||||
 
 | 
			
		||||
@@ -7,6 +7,7 @@ let
 | 
			
		||||
  cfgFile = pkgs.writeText "gitea-actions-runner.yaml" (toJSON {
 | 
			
		||||
    container = {
 | 
			
		||||
      network = "colony";
 | 
			
		||||
      privileged = true;
 | 
			
		||||
    };
 | 
			
		||||
    cache = {
 | 
			
		||||
      enabled = true;
 | 
			
		||||
@@ -28,7 +29,9 @@ in
 | 
			
		||||
        main = {
 | 
			
		||||
          enable = true;
 | 
			
		||||
          name = "main-docker";
 | 
			
		||||
          labels = [ ];
 | 
			
		||||
          labels = [
 | 
			
		||||
            "ubuntu-22.04:docker://git.nul.ie/dev/actions-ubuntu:22.04"
 | 
			
		||||
          ];
 | 
			
		||||
          url = "https://git.${pubDomain}";
 | 
			
		||||
          tokenFile = config.age.secrets."gitea/actions-runner.env".path;
 | 
			
		||||
        };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user