Commit Graph

39 Commits

Author SHA1 Message Date
Jörg Thalheim
8f74f257e7 add support for build machines 2024-02-06 17:21:42 +01:00
Jörg Thalheim
5e5077c31c rename machine.host to machine.target_host 2024-02-06 17:21:42 +01:00
Jörg Thalheim
7d62e147a9 rename target_host to target_host_address 2024-02-06 17:21:42 +01:00
Jörg Thalheim
0745bcb9a0 machines/update: get flake_attr from machine class 2024-02-06 17:21:42 +01:00
Jörg Thalheim
8db4d31a52 skip machines without target_host when running clan machines update 2024-02-06 15:04:19 +01:00
Jörg Thalheim
d36aea3f73 move checks if targetHost/buildHost is set to cli 2024-02-06 14:51:44 +01:00
lassulus
3f2f3012b9 clan-cli update: remove legacy argument 2024-02-03 07:53:15 +01:00
lassulus
06c2734c9b clan-cli update: upload only local paths from localhost 2024-02-03 07:53:15 +01:00
Jörg Thalheim
584299e199 rename deployment address to target address
This is a prepares having a build server for deployment
2024-02-02 16:39:29 +07:00
lassulus
8ac9ad3133 clan-cli update: use new Machine class interface 2024-01-24 15:49:12 +01:00
lassulus
bdd1f9be6d machines.Machine: refactor flake_dir -> flake; use Machine class in vm 2024-01-24 15:49:12 +01:00
Qubasa
7049573d28 Refactor subprocess to cmd.py part 2 2024-01-10 12:11:29 +01:00
Jörg Thalheim
7d755beca6 enable more linting 2023-11-29 13:29:45 +00:00
lassulus
d8633dd29d machines.update: remove redundant flake argument 2023-11-15 21:57:08 +01:00
lassulus
efafe6f0e3 clan-cli secrets: flake_name -> flake_dir 2023-11-05 16:58:48 +01:00
lassulus
0600278122 cli machines update: find flake dir automatic if not provided, support flake as path 2023-10-29 20:52:38 +01:00
Qubasa
768b567f21 nix fmt 2023-10-27 19:26:03 +02:00
Qubasa
f976121fa6 Added flake_name:str argument everywhere, nix fmt doesn't complain anymore 2023-10-27 19:15:40 +02:00
Qubasa
b09448ab6b Updated to main 2023-10-27 19:15:11 +02:00
Jörg Thalheim
8daf0607c3 fix updating multiple machines 2023-10-27 17:40:20 +02:00
lassulus
ee76a78aed machines update: add --target-host 2023-10-04 23:28:15 +02:00
lassulus
01087e2da8 clan_cli: refactor secrets code into Machine class 2023-10-04 16:41:16 +02:00
lassulus
0db337d57e clan-cli secrets upload: secrets are populated into tmpdir 2023-09-29 20:05:35 +02:00
lassulus
79be9078dc restore clanInternals with valid nixos config 2023-09-29 19:39:35 +02:00
Jörg Thalheim
cd9cfc5c63 fix secrets script not beeing fetched 2023-09-28 15:51:09 +02:00
Jörg Thalheim
82bf417e17 add toplevel machines-json that can deploy all hosts 2023-09-28 15:23:25 +02:00
Jörg Thalheim
853ddd8e97 clan update: fix deploymentAddress 2023-09-27 21:11:52 +02:00
Jörg Thalheim
b3f24cf815 clanInternals.machines: invert system and machine name 2023-09-27 17:26:44 +02:00
Jörg Thalheim
dc51ca5803 factor out deployment address parsing into a function 2023-09-21 17:22:20 +02:00
Jörg Thalheim
3cb916d50f clan-cli/update: also use correct flake attr for generating secret 2023-09-19 15:20:11 +02:00
Jörg Thalheim
2931b08b46 clan-cli/update: use correct flake attr when deploying 2023-09-19 14:19:48 +02:00
Jörg Thalheim
a65413c98e use experimental flags everywhere 2023-09-19 13:12:10 +02:00
lassulus
8d29d0e69c clan-cli: get deploymentAddress from clan.networking 2023-09-15 12:17:07 +00:00
lassulus
c5786614bf clan-cli secrets: deploy -> upload 2023-09-15 12:17:07 +00:00
lassulus
c487280ba9 clan-cli machines update: generate and deploy secrets 2023-09-15 12:17:07 +00:00
Jörg Thalheim
3b0701f275 deploy: use nix-flake-archive instead of rsync to upload 2023-09-15 12:17:07 +00:00
Jörg Thalheim
2d934d527a update: use run_local command to print executed command 2023-09-14 11:20:45 +02:00
Jörg Thalheim
b97db58316 deploy: use nix-flake-archive instead of rsync to upload 2023-09-13 20:33:53 +02:00
Jörg Thalheim
56542ca5ef mv update command to machines update command 2023-08-24 16:25:06 +02:00