mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
Merge branch 'main' of github.com:JulienMalka/nix-config
This commit is contained in:
commit
9666de1181
1 changed files with 15 additions and 0 deletions
15
.drone.yml
15
.drone.yml
|
@ -31,6 +31,10 @@ steps:
|
|||
commands:
|
||||
- nix build -v '.#nixosConfigurations.macintosh.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
|
||||
- name: Build lambda
|
||||
commands:
|
||||
- nix build -v '.#nixosConfigurations.lambda.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
@ -88,6 +92,9 @@ steps:
|
|||
- mv result newton-old
|
||||
- nix build -v '.#nixosConfigurations.macintosh.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result macintosh-old
|
||||
- nix build -v '.#nixosConfigurations.lambda.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result lambda-old
|
||||
|
||||
|
||||
|
||||
- name: flake update
|
||||
|
@ -123,12 +130,20 @@ steps:
|
|||
- nix build -v '.#nixosConfigurations.macintosh.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result macintosh-new
|
||||
|
||||
- name: Build lambda
|
||||
commands:
|
||||
- nix build -v '.#nixosConfigurations.lambda.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result lambda-new
|
||||
|
||||
|
||||
|
||||
- name: Print report
|
||||
commands:
|
||||
- echo "lisa:" && nix store diff-closures $(readlink -f lisa-old) $(readlink -f lisa-new)
|
||||
- echo "newton:" && nix store diff-closures $(readlink -f newton-old) $(readlink -f newton-new)
|
||||
- echo "macintosh:" && nix store diff-closures $(readlink -f macintosh-old) $(readlink -f macintosh-new)
|
||||
- echo "lambda:" && nix store diff-closures $(readlink -f lambda-old) $(readlink -f lambda-new)
|
||||
|
||||
|
||||
|
||||
- name: Push update
|
||||
|
|
Loading…
Add table
Reference in a new issue