Add .gitlab-ci.yml
This commit is contained in:
		
					parent
					
						
							
								3eb9f986e0
							
						
					
				
			
			
				commit
				
					
						e66505e3b0
					
				
			
		
					 1 changed files with 30 additions and 0 deletions
				
			
		
							
								
								
									
										30
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,30 @@
 | 
			
		|||
default:
 | 
			
		||||
  image: nixos/nix:2.16.1
 | 
			
		||||
 | 
			
		||||
stages:
 | 
			
		||||
  - update_flake_lock
 | 
			
		||||
  - build
 | 
			
		||||
  - apply
 | 
			
		||||
  - commit_flake
 | 
			
		||||
 | 
			
		||||
update_flake_lock:
 | 
			
		||||
  stage: update_flake_lock
 | 
			
		||||
  script:
 | 
			
		||||
    - nix flake update --extra-experimental-features nix-command --extra-experimental-features flakes
 | 
			
		||||
 | 
			
		||||
build:
 | 
			
		||||
  stage: build
 | 
			
		||||
  script:
 | 
			
		||||
    - nix-env --install colmena
 | 
			
		||||
    - colmena build
 | 
			
		||||
 | 
			
		||||
apply:
 | 
			
		||||
  stage: apply
 | 
			
		||||
  script:
 | 
			
		||||
    - nix-env --install colmena
 | 
			
		||||
    - colmena apply
 | 
			
		||||
 | 
			
		||||
commit_flake:
 | 
			
		||||
  stage: commit_flake
 | 
			
		||||
  script:
 | 
			
		||||
    - echo "commit_flake"
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue