Commit graph

60 commits

Author SHA1 Message Date
e7f5714495
simplify deployment 2025-09-03 13:07:27 +02:00
828fe084bd
skip is-active sshd 2025-09-03 13:07:27 +02:00
234739ce27
- auto 2025-09-03 13:07:27 +02:00
5be47c82b4
move fail in 2025-09-03 13:07:27 +02:00
5e370afd0e
- BatchMode 2025-09-03 13:07:27 +02:00
c486c3e6ed
rm unused ssh settings 2025-09-03 13:07:27 +02:00
a548ef56e6
dedupe inputDerivations 2025-09-03 13:07:27 +02:00
1cbf286555
rm cowsay 2025-09-03 13:07:27 +02:00
cfd603f192
remove unused JSON-serialized args (sources) 2025-09-03 13:07:27 +02:00
5f909a2638
factor out to nixos.nix 2025-09-03 13:07:27 +02:00
c0d5e13aa6
rm users 2025-09-03 13:07:27 +02:00
9b87c5b89d
simplify grub 2025-09-03 13:07:27 +02:00
193d55b48b
rm users 2025-09-03 13:07:27 +02:00
2bf2fe32a7
reenable ipv6 2025-09-03 13:07:27 +02:00
ac5f01a66a
reenable firewall 2025-09-03 13:07:27 +02:00
5b4b674773
rm comments 2025-09-03 13:07:27 +02:00
f2d386e4d3
rm getty 2025-09-03 13:07:27 +02:00
efa11adfdb
mv attempts 2025-09-03 13:07:27 +02:00
3e9cf8a879
download-attempts: settle for just targetNode 2025-09-03 13:07:27 +02:00
ee393e8610
rm comment 2025-09-03 13:07:27 +02:00
db732a6344
restore imports 2025-09-03 13:07:27 +02:00
bd3b1c2e32
dedupe nixosTest.nix 2025-09-03 13:07:27 +02:00
8dd39f05d0
qemu guest 2025-09-03 13:07:27 +02:00
b5496b2be1
grub 2025-09-03 13:07:27 +02:00
15a7fe0c67
auto login 2025-09-03 13:07:27 +02:00
989dd1db51
networking 2025-09-03 13:07:27 +02:00
05bb9ce9fc
users 2025-09-03 13:07:27 +02:00
d9d8fe3025
handle test outcome 2025-09-03 13:07:27 +02:00
567b2fd0b7
specialArgs: sources 2025-09-03 13:07:27 +02:00
dc6478844a
nix in tests: download-attempts = 1 2025-09-03 13:07:27 +02:00
a16615e4e3
ensure inputs 2025-09-03 13:07:27 +02:00
8dfb10520e
move stuff not needed in test out 2025-09-03 13:07:27 +02:00
52b9d730b8
ensure availability of needed inputs 2025-09-03 13:07:27 +02:00
a0c1a86129
reduce download attempts in test 2025-09-03 13:07:27 +02:00
431966aede
settle for hello, ditching cowsay 2025-09-03 13:07:27 +02:00
d8cd1f9473
move imports from paste to targetNode to increase parity between paste and nixosTest 2025-09-03 13:07:27 +02:00
fdadbcc9c3
ditch superfluous substituters 2025-09-03 13:07:27 +02:00
fb2b79da88
add keys 2025-09-03 13:07:27 +02:00
d8fcae0ee9
wip: use ssh in test 2025-09-03 13:07:27 +02:00
ae958ce407
add deployment method: ssh 2025-09-03 13:07:27 +02:00
f429ed3656
un-nixops 2025-09-03 13:07:27 +02:00
843f4fe4ec
scaffold deployment/check/data-model from ./basic
modelify
2025-09-03 13:07:27 +02:00
f954ed5389 add proxmox repro test (#345)
closes #325

Reviewed-on: Fediversity/Fediversity#345
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-09-01 14:31:50 +02:00
be72b82875 Link to upstreaming PR for lib.types.fileset (#487)
Reviewed-on: Fediversity/Fediversity#487
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-07-30 13:25:22 +02:00
b4e1c5b5b3 Restrict fileset necessary for deployment tests (#450)
Now that we won't depend on the flake.nix anymore, we won't depend on all the flake-part.nix files (necessary to evaluate flake.nix) and all the files they depend on etc., so the Nix dependencies of the tests will be drastically reduced, and I will be able to leverage that by introducing a more subtle src. This will make the test not need to re-run if only things outside that reduced src changed (and the previous run is in the Nix store).

Reviewed-on: Fediversity/Fediversity#450
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-07-09 22:57:52 +02:00
de38611572 Unflakify deployment tests (#449)
This PR builds on top of #447 and #448. Since these might be rejected, there will be some changes needed for this PR as well. Let's see how the discussions go in #447.

In the meantime, @fricklerhandwerk, would you mind (in)validating the core idea of this PR? You only need to look at 7cf43c4041, really.

Reviewed-on: Fediversity/Fediversity#449
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-07-09 15:07:02 +02:00
1d40dcfc0e Grab git-hooks from npins (#448)
This PR builds on top of #447 and will be subject to the same discussion. Let's discuss there whether it makes sense to get rid of the `flake-parts` and `git-hooks` flake inputs.

Reviewed-on: Fediversity/Fediversity#448
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-07-09 13:21:48 +02:00
48c6a1f22b Extract mkFlake to own file - get flake-parts from npins (#447)
The goal is to contain the “`mkFlake` hack” to a file that we can heavily document but otherwise ignore. This also will allow me to reuse it in the “flake under test” of the deployment tests.

Reviewed-on: Fediversity/Fediversity#447
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-committed-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
2025-07-09 10:12:47 +02:00
05572ff69e remove string interpolation from imports (#429)
Reviewed-on: Fediversity/Fediversity#429
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-07-03 15:55:39 +02:00
a791ad41ec Inject sources, secrets and keys via module system - avoid import ../ (#421)
Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Reviewed-on: Fediversity/Fediversity#421
Reviewed-by: Nicolas Jeannerod <nicolas.jeannerod@moduscreate.com>
Reviewed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-07-01 21:08:15 +02:00