Drone will now build lambda

This commit is contained in:
Julien Malka 2023-01-08 22:36:36 +01:00
parent af8e203f56
commit 1fb5614316
Signed by: Luj
GPG key ID: 6FC74C847011FD83

View file

@ -30,6 +30,9 @@ steps:
commands:
- nix build -v '.#nixosConfigurations.tower.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:
@ -93,6 +96,9 @@ steps:
- mv result newton-old
- nix build -v '.#nixosConfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
- mv result tower-old
- nix build -v '.#nixosConfigurations.lambda.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
- mv result lambda-old
@ -125,11 +131,17 @@ steps:
- nix build -v '.#nixosConfigurations.newton.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
- mv result newton-new
- name: Build tower
- name: build tower
commands:
- nix build -v '.#nixosConfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
- nix build -v '.#nixosconfigurations.tower.config.system.build.toplevel' --option binary-caches "https://cache.nixos.org"
- mv result tower-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
@ -138,7 +150,8 @@ steps:
- 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)
- echo "lambda:" && nix store diff-closures $(readlink -f lambda-old) $(readlink -f lambda-new)
- name: Push update
commands: