68dca5334d
add caching workflow
2025-07-11 16:27:06 +02:00
8c65cd5ffa
rm attic config from runner as it's really the containers that need it
2025-07-11 16:19:50 +02:00
5bfb5da635
expose attic-client in CI container
2025-07-11 16:19:50 +02:00
a466ab5e75
manually use cache in ci
2025-07-11 16:19:50 +02:00
1451ba7fc1
use cache in ci
2025-07-11 16:19:50 +02:00
94dfb74f11
factor out user
2025-07-11 16:19:50 +02:00
d4580d4d9e
have attic know it doesn't do https, for now
2025-07-11 16:19:50 +02:00
8a2c1c4b10
for now set substituters to use http as well
2025-07-11 16:19:50 +02:00
129f1fa749
expose 8080 in nftables, pending proper TLS/reverse-proxy/port (?)
2025-07-11 16:19:50 +02:00
3b6664e9e8
expose port 9000 following documentation
2025-07-11 16:19:50 +02:00
cba4e451ed
enquote CI command
2025-07-11 16:19:50 +02:00
2c5ccb4b88
still go thru shell to actually load it
2025-07-11 16:19:50 +02:00
c475d0e3e7
pull attic-client into shell as CI is missing <nixpkgs> for nix-shell
2025-07-11 16:19:50 +02:00
5fb5e9ca6e
collapse caching ci test, given it seems to not carry over variables between steps
2025-07-11 16:19:50 +02:00
2a871c6a99
test attic cache from ci
2025-07-11 16:19:50 +02:00
34eb0b9241
allow consuming attic cache from ci runner
2025-07-11 16:19:50 +02:00
f9047ca7df
enquote attic env values for use in source attic.env
2025-07-11 16:19:50 +02:00
2bf5ef29d6
add generator dependency
2025-07-11 16:19:50 +02:00
474cd6c5ea
moar extraDependencies
2025-07-11 16:19:50 +02:00
861243cf92
[wip] handling env file (still fails)
...
rm unused dep nix-templating
fix imports
2025-07-11 16:19:50 +02:00
65c945062f
use templating fork
2025-07-11 16:19:50 +02:00
65baa6b0d8
add tests, fix some things
...
upgrade memory to resolve oom
2025-07-11 16:19:50 +02:00
ae3c4513b7
move from dev to operator
...
revert
add qemu import
2025-07-11 16:19:50 +02:00
a293f19ebb
WIP: add attic cache, see #92
...
flesh out attic
TODO keys nginx-port testing
fix key
fix key
2025-07-11 16:19:50 +02:00
2ca58cef07
actually pass a priority level fitting my description
2025-07-11 16:19:44 +02:00
320380be7a
use defaultOverridePriority over mkDefault to fix acme error without cashing with settings from tests
2025-07-11 16:19:44 +02:00
cc91009448
use mkDefault to prevent acme clash in tests
2025-07-11 16:19:44 +02:00
95873fd960
increase numInstances to 5
2025-07-11 16:19:35 +02:00
414d786ee0
Revert "switch to podman"
...
This reverts commit 60e7b841a9 .
2025-07-11 16:19:35 +02:00
e757236e48
runs-on: nix
2025-07-11 16:19:35 +02:00
774d17aa45
switch to podman
2025-07-11 16:19:35 +02:00
af708d05ba
increase numInstances to 3
2025-07-11 16:19:35 +02:00
66828d41b1
add note on podman attempt
2025-07-11 16:19:35 +02:00
85c5305593
reconciliate old/new runners
2025-07-11 16:19:35 +02:00
4631a2398c
explicitly use custom container in CI
2025-07-11 16:19:35 +02:00
9c75365609
explicitly allow running command to manually generating tokens from forgejo machine
...
additionally serves to document the needed command, for future
automation.
2025-07-11 16:19:35 +02:00
824c37c392
set up ci container from clan
...
credit:
https://discourse.nixos.org/t/gitea-nix-actions-runner-setup/35279
2025-07-11 16:19:35 +02:00
b0ca411ac2
try and recreate the container from icewind
...
see:
https://icewind.nl/entry/gitea-actions-nix/#using-nix-to-build-our-nix-image
> Error: crun: cannot find `` in $PATH: No such file or directory: OCI
runtime attempted to invoke a command that was not found
2025-07-11 16:19:35 +02:00
d566852471
runs-on: docker
2025-07-11 16:19:35 +02:00
21eaf8fea7
rm runner file
2025-07-11 16:19:35 +02:00
dc47095892
explicitly specify container image
2025-07-11 16:19:35 +02:00
45b841526d
add label for new runner
2025-07-11 16:19:35 +02:00
3d6730f6f4
try out existing nix container made for gitea actions
2025-07-11 16:19:35 +02:00
1a93775661
Switch all CI jobs to nixos label
2025-07-11 16:19:35 +02:00
aef414ffe8
resolve regressions from recent qemu files ( #432 )
...
- move import to match module classes
- manually import sources to resolve infinite recursion
closes #431 .
Reviewed-on: Fediversity/Fediversity#432
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-07-11 16:09:27 +02:00
6d74112518
ditch sources arg in fedi201, fixing infinite recursion error ( #454 )
...
c.f. #432 .
closes #453 .
Reviewed-on: Fediversity/Fediversity#454
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-07-11 16:06:15 +02:00
2b2fb059fd
fix cd command ( #455 )
...
Reviewed-on: Fediversity/Fediversity#455
Co-authored-by: Kiara Grouwstra <kiara@procolix.eu>
Co-committed-by: Kiara Grouwstra <kiara@procolix.eu>
2025-07-11 11:07:03 +02:00
66ceb66382
add deployment pipeline ( #452 )
...
part of #177
Reviewed-on: Fediversity/Fediversity#452
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-10 16:45:46 +02:00
ad9c61a3db
docs: fix typos
2025-07-10 00:37:27 +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