fix: get actions runner working for new personal git server
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
				
			I had to delete /var/lib/private/gitea-runner in addition to this change (since I was migrating to a new git server).
This commit is contained in:
		
							parent
							
								
									01409f7ecb
								
							
						
					
					
						commit
						364974f31c
					
				
					 2 changed files with 15 additions and 12 deletions
				
			
		| 
						 | 
				
			
			@ -76,18 +76,21 @@
 | 
			
		|||
    })
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  services.gitea-actions-runner.instances = {
 | 
			
		||||
    gospel = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      name = config.networking.hostName;
 | 
			
		||||
      url = "https://gitea.kilonull.com";
 | 
			
		||||
      tokenFile = config.age.secrets.gitea-runner-gospel.path;
 | 
			
		||||
      labels = [
 | 
			
		||||
        "ubuntu-latest:docker://node:16-bullseye"
 | 
			
		||||
        "ubuntu-22.04:docker://node:16-bullseye"
 | 
			
		||||
        "ubuntu-20.04:docker://node:16-bullseye"
 | 
			
		||||
        "ubuntu-18.04:docker://node:16-buster"
 | 
			
		||||
      ];
 | 
			
		||||
  services.gitea-actions-runner = {
 | 
			
		||||
    package = pkgs.forgejo-runner;
 | 
			
		||||
    instances = {
 | 
			
		||||
      gospel = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        name = config.networking.hostName;
 | 
			
		||||
        url = "https://git.alejandr0angul0.dev";
 | 
			
		||||
        tokenFile = config.age.secrets.gitea-runner-gospel.path;
 | 
			
		||||
        labels = [
 | 
			
		||||
          "ubuntu-latest:docker://node:16-bullseye"
 | 
			
		||||
          "ubuntu-22.04:docker://node:16-bullseye"
 | 
			
		||||
          "ubuntu-20.04:docker://node:16-bullseye"
 | 
			
		||||
          "ubuntu-18.04:docker://node:16-buster"
 | 
			
		||||
        ];
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
  virtualisation = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue