mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
Updated drone to build tower
This commit is contained in:
parent
85c5510e72
commit
ffb4472f67
1 changed files with 18 additions and 1 deletions
19
.drone.yml
19
.drone.yml
|
@ -26,6 +26,11 @@ steps:
|
|||
commands:
|
||||
- nix build -v '.#nixosConfigurations.newton.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
|
||||
- name: Build tower
|
||||
commands:
|
||||
- nix build -v '.#nixosConfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
|
||||
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
@ -86,6 +91,10 @@ steps:
|
|||
- mv result lisa-old
|
||||
- nix build -v '.#nixosConfigurations.newton.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result newton-old
|
||||
- nix build -v '.#nixosConfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result tower-old
|
||||
|
||||
|
||||
|
||||
|
||||
- name: flake update
|
||||
|
@ -116,12 +125,20 @@ steps:
|
|||
- nix build -v '.#nixosConfigurations.newton.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result newton-new
|
||||
|
||||
- name: Build tower
|
||||
commands:
|
||||
- nix build -v '.#nixosConfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
|
||||
- mv result tower-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 "tower:" && nix store diff-closures $(readlink -f tower-old) $(readlink -f tower-new)
|
||||
|
||||
|
||||
- name: Push update
|
||||
commands:
|
||||
|
|
Loading…
Add table
Reference in a new issue