Qubasa
1f98df96e3
clan-cli: cmd.run now has its options extracted to a dataclass
2024-11-28 15:26:37 +01:00
Johannes Kirschbauer
3b7559e066
CLI: use new template path
2024-11-28 11:44:44 +01:00
Louis Opter
f4e621af88
clan-cli: secrets.sops: improve age keys detection
...
This change allows you to e.g. directly pass `$(age-keygen)` on the
command line.
2024-11-27 06:27:53 +00:00
a-kenji
1c9ca82055
pkgs/cli: Fix tag creation for clan machines create
2024-11-20 15:12:05 +01:00
a-kenji
5d6ac539bc
pkgs/cli: Complete --tags flag
2024-11-11 13:48:00 +01:00
clan-bot
e8f6786d95
Merge pull request 'pkgs/cli: Fix help string of clan machines create' ( #2350 ) from kenji/clan-core:kenji-fix-naming-create into main
2024-11-10 13:21:53 +00:00
a-kenji
aa1ca9ba59
pkgs/cli: Fix help string of clan machines create
2024-11-10 14:15:34 +01:00
a-kenji
0c7f18da12
pkgs/cli: Add --target-host to clan machines create
...
Add the `--target-host` flag to `clan machines create`.
This allows setting the `deploy.targetHost` for the newly created
machine via the inventory.
Closes : #2339
2024-11-10 14:13:39 +01:00
a-kenji
182ea02c46
pkgs/cli: Improve tense of message in machines create
...
Change the log message tense from present to continuous for improved clarity.
The message "Add file" has been changed to "Adding file" to provide a clear
indication that the file addition is an ongoing process, not a
command (for the user).
2024-11-10 01:14:40 +01:00
a-kenji
c7ad5e1928
pkgs/cli: Remove superfluous comment string
2024-11-10 00:35:41 +01:00
Jörg Thalheim
4826582547
add more custom prefixes for temporary directories
2024-10-01 20:54:19 +02:00
Qubasa
a27880a65e
clan-cli: Move clan machines import to clan machines create
2024-09-23 17:11:48 +02:00
Johannes Kirschbauer
813172119e
API: rename set_inventory
2024-09-13 16:11:10 +02:00
Jörg Thalheim
483d8ce521
add SIM lint
2024-09-02 16:39:30 +02:00
Jörg Thalheim
e150b37fb8
enable ASYNC, DTZ, YTT and EM lints
2024-09-02 14:07:06 +02:00
Jörg Thalheim
b313f2d066
make all same-module imports relative, the rest absolute
...
This makes sorting more consitent.
2024-09-02 13:00:19 +02:00
Johannes Kirschbauer
937c171769
Clan-app: refine create machine workflow via query operation
2024-08-06 16:04:21 +02:00
Johannes Kirschbauer
1b52dca96b
Fix unit tests
2024-07-24 13:15:08 +02:00
Johannes Kirschbauer
d91090bb0e
Create machine: init view with api
2024-07-24 10:34:11 +02:00
Johannes Kirschbauer
fbe27bfa0a
Classgen: add mapped keys and more stuff
2024-07-18 21:58:36 +02:00
Jörg Thalheim
6037ad1ce0
move FlakeId to flake id
...
move FlakeId to flake id
2024-07-03 18:28:55 +02:00
Johannes Kirschbauer
3227de583f
API: tests for module instance update
2024-07-02 16:09:13 +02:00
Johannes Kirschbauer
a71fd47354
Inventory persistence improves error resistance
2024-07-02 11:16:54 +02:00
Johannes Kirschbauer
1efadb5e3d
API: migrate machines delete and list to inventory
2024-07-02 11:07:11 +02:00
Johannes Kirschbauer
4a61e51afd
API: migrate add machine to inventory
2024-07-01 21:55:42 +02:00
DavHau
8eafd43fd3
tests: add test for creating machine on minimal clan
2024-06-09 21:54:04 -07:00
Johannes Kirschbauer
2d9be0e603
API: handle functions with multiple arguments
2024-05-26 18:04:49 +02:00
Johannes Kirschbauer
5e266578ae
Api: init response envelop
2024-05-26 15:57:10 +02:00
lassulus
082d628497
clan_cli: flake_name -> flake_dir
2023-11-15 16:23:28 +01:00
DavHau
2fafc9a38b
api/machines: init put_machine replacing create_machine and set_machine_config
...
This allows creating and configuring a machine in one single step.
2023-11-13 20:25:52 +07:00
Qubasa
e389c7cfe7
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
9c8829c32f
nix fmt
2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Qubasa
ecdd4949b7
Added new type FlakeName
2023-10-27 19:18:45 +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
Qubasa
2ad87785c0
Added state directory.
2023-10-27 19:11:27 +02:00
DavHau
2a11b1c5d1
machines api: always create empty settings.json
2023-09-02 18:29:12 +02:00
Jörg Thalheim
33b43ae146
add tests for machines api
2023-08-24 19:16:44 +02:00
Jörg Thalheim
c5b16124ef
add machine subcommand
2023-08-24 16:58:22 +02:00