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