Add .gitlab-ci.yml
This commit is contained in:
parent
e37eae867c
commit
7259a847a8
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…
Reference in a new issue