Commit graph

16 commits

Author SHA1 Message Date
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
1b832c1f5b bypass native flake input for Nixpkgs (#374)
@Niols the sheer amount of hassle and noise indicates that it may be better to first split out a `flake.nix` just for the tests. And all this clutter doesn't even explain yet *why* we thought it needs to be there.

closes #279.

Co-authored-by: Nicolas “Niols” Jeannerod <nicolas.jeannerod@moduscreate.com>
Reviewed-on: Fediversity/Fediversity#374
Reviewed-by: kiara Grouwstra <kiara@procolix.eu>
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-committed-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2025-06-12 13:05:11 +02:00
f4ebf55a15
unify versioning (minus around nixops, for now) 2025-05-01 13:24:45 +02:00
f5db62e053 Add a basic integration test (#323)
This PR adds a basic deployment test to the repository. This test will, in a NixOS test, run a deployer VM and a target VM, and check that we manage to run `nixops4 apply` on the deployer VM to change things on the target VM. The ideas are all @roberth's and this test has been extremely heavily inspired by https://github.com/nixops4/nixops4-nixos/blob/main/test/default/nixosTest.nix.

Reviewed-on: Fediversity/Fediversity#323
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-04-30 15:03:36 +02:00
d702ce3d05
Update flake inputs
In particular, grab a version of NixOps4 that reports SSH failures (\o)
2025-02-26 10:49:27 +01:00
6d0fdd0834
Bump nixpkgs 2025-02-18 16:44:06 +01:00
aed74dc599
Bump other flake inputs 2025-01-31 14:39:28 +01:00
1d05993127
Bump NixOps4
in particular, follow the split of `nixops4-nixos` to its own
repository.
2025-01-31 14:11:46 +01:00
a7848beda0
Revert "nix flake update"
This reverts commit f7537f3e00.
2025-01-31 10:59:55 +01:00
f7537f3e00
nix flake update 2025-01-30 16:27:18 +01:00
0e6f2c52c2
Bump nixpkgs
This should contain the backport of Peertube 6.3.3, necessary to fix our
Garage Content-Security-Policy issue. See
https://github.com/NixOS/nixpkgs/pull/363680 for the PR backporting
Peertube 6.3.3 to nixpkgs 24.11.
2024-12-17 19:20:55 +01:00
ed26839078
Add Agenix to the environment 2024-12-12 12:38:19 +01:00
28903597f5
Bump NixOps4 2024-12-12 12:38:16 +01:00
243ff8f070
Bump nixpkgs to 24.11 2024-11-26 13:00:00 +01:00
435d9c861a
Integrate deployment as a flake part 2024-11-14 18:07:12 +01:00
e51fca5f0e
Basic flake with pre-commit hooks 2024-11-14 17:50:17 +01:00