From ffb4472f67e3c3690db9176b644f601c0fe7a3b6 Mon Sep 17 00:00:00 2001 From: Julien Malka Date: Sat, 7 Jan 2023 00:09:57 +0100 Subject: [PATCH] Updated drone to build tower --- .drone.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 03bb113..11e4112 100644 --- a/.drone.yml +++ b/.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: