8ab9d20342
clan-vm-manager: Working pytest skeleton. clan-cli: Fixing devshell depending on itself
checks / check-links (pull_request) Successful in 14s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m13s
2024-03-24 23:36:00 +01:00
3351f87a7f
Removed duplicate logging messages
checks-impure / test (pull_request) Successful in 1m22s
checks / test (pull_request) Successful in 2m52s
2024-01-11 22:46:29 +01:00
7dc2c21517
Deleted everything webui
checks / test (pull_request) Successful in 58s
checks-impure / test (pull_request) Successful in 1m5s
2023-12-14 18:47:14 +01:00
1496f45fe2
prefix nixpkgs# explicitly in nix_shell
...
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m3s
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
ceb6bdd474
clan join: test create vm for clan join
...
checks-impure / test (pull_request) Successful in 34s
checks / test (pull_request) Successful in 1m33s
This adds a vm create test for the `clan join` scenario where:
- there is no local clan to write changes to
- a machine from a remote flake needs to be built and run
- no users and no secrets need to be or can be managed (no flake to write files to)
2023-10-06 19:15:25 +02:00
6a359c0a2f
clan-cli: add git.commit_file() to auto commit files if inside a git
...
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 34s
- commit only if inside a git repo
- commit only the specified file and nothing else
- auto-generate commit message if not specified
2023-09-21 14:07:54 +02:00
87f0b090ef
cli: rename clan_flake to test_flake
checks-impure / test (pull_request) Successful in 9s
checks / test (pull_request) Successful in 1m24s
2023-09-15 12:36:16 +02:00
02f421546c
rename machine_flake back to clan_flake
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 1m22s
2023-09-14 17:06:07 +02:00
2048ffccb0
drop clan_flake fixture
checks-impure / test (pull_request) Successful in 6s
checks / test (pull_request) Successful in 32s
2023-09-14 16:57:48 +02:00
4905e0cecd
move machine_flake fixture to its own file
checks-impure / test (pull_request) Successful in 8s
checks / test (pull_request) Successful in 1m25s
2023-09-14 16:49:02 +02:00
3bdd3af248
cli: fix nixpkgs unfree import
checks-impure / test (pull_request) Successful in 12s
checks / test (pull_request) Successful in 1m55s
2023-09-06 17:37:41 +02:00
4ac91ccdcb
drop clan flake monkeypatch
2023-09-06 16:04:00 +02:00
fb7c77690a
replace environment variable with nixpkgs directory
...
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
518bf4197f
webui: tests for machine config endpoints
build / test (pull_request) Successful in 1m4s
2023-08-26 08:46:53 +02:00
33b43ae146
add tests for machines api
build / test (pull_request) Successful in 15s
2023-08-24 19:16:44 +02:00
2a31b1d65b
add host_group fixture
2023-08-11 16:10:12 +02:00
a17baa4861
add test for remote ssh commands
build / test (pull_request) Successful in 28s
2023-08-10 11:05:05 +02:00
d977499ffe
rename cli tests to have a common suffix
...
build / test (pull_request) Successful in 25s
rename test_import_sops -> test_import_sops
2023-08-09 15:54:27 +02:00
68905fc233
don't add user to a secret if they already can access the secret
...
build / test (pull_request) Failing after 21s
If the user is part of a group we don't need to add them explicitly
2023-08-09 10:17:30 +02:00
d8c2df2e72
add test for import-sops command
build / test (pull_request) Successful in 24s
2023-08-08 16:28:38 +02:00
29c711db30
add clan_flake fixture to setup a temporary clan
build / test (push) Successful in 12s
2023-07-28 12:54:49 +02:00
5e5fbfcf06
write test for get_clan_flake_toplevel
2023-07-28 10:22:25 +00:00
df6e94b20e
move environment to helpers module
...
This fixes registering pytest plugins
2023-07-28 10:22:25 +00:00