Compare commits

..

45 commits

Author SHA1 Message Date
cf1bde166f
rm attic config from runner as it's really the containers that need it 2025-07-11 15:49:24 +02:00
4d0c1106d7
expose attic-client in CI container 2025-07-11 15:47:24 +02:00
7b5309560c
manually use cache in ci 2025-07-11 15:44:45 +02:00
05765f53b8
use cache in ci 2025-07-11 15:38:26 +02:00
0633f66fee
factor out user 2025-07-11 15:38:26 +02:00
b7314b4664
have attic know it doesn't do https, for now 2025-07-11 15:38:26 +02:00
d387dc80ee
for now set substituters to use http as well 2025-07-11 15:38:26 +02:00
3eb8a8634f
expose 8080 in nftables, pending proper TLS/reverse-proxy/port (?) 2025-07-11 15:38:26 +02:00
6e3d19c315
expose port 9000 following documentation 2025-07-11 15:38:26 +02:00
8a19afbc98
enquote CI command 2025-07-11 15:38:26 +02:00
3d8f2fca61
still go thru shell to actually load it 2025-07-11 15:38:26 +02:00
4e968e4e6a
pull attic-client into shell as CI is missing <nixpkgs> for nix-shell 2025-07-11 15:38:26 +02:00
20765e6f3a
collapse caching ci test, given it seems to not carry over variables between steps 2025-07-11 15:38:26 +02:00
02e5aa8e9e
test attic cache from ci 2025-07-11 15:38:26 +02:00
c43045903a
allow consuming attic cache from ci runner 2025-07-11 15:38:26 +02:00
de9509530f
enquote attic env values for use in source attic.env 2025-07-11 15:38:26 +02:00
811a8020d4
add generator dependency 2025-07-11 15:38:26 +02:00
0e59ad0b5a
moar extraDependencies 2025-07-11 15:38:26 +02:00
bb1eb12bb7
[wip] handling env file (still fails)
rm unused dep nix-templating

fix imports
2025-07-11 15:38:26 +02:00
399fc0a375
use templating fork 2025-07-11 15:38:17 +02:00
c3bc9c3b24
add tests, fix some things
upgrade memory to resolve oom
2025-07-11 15:38:17 +02:00
6703f2d88a
move from dev to operator
revert

add qemu import
2025-07-11 15:36:14 +02:00
afaa7f4d75
WIP: add attic cache, see #92
flesh out attic

TODO keys nginx-port testing

fix key

fix key
2025-07-11 15:36:14 +02:00
4bdc53ac85
ensure bare-metal fileSystems override default, resolves definition conflict on nixops4 apply forgejo-ci 2025-07-11 15:36:14 +02:00
178e16cf41
resolve regressions from recent qemu files
- move import to match module classes
- manually import sources to resolve infinite recursion
2025-07-11 15:36:14 +02:00
1be115046d
actually pass a priority level fitting my description 2025-07-11 15:36:14 +02:00
2b45215ddd
use defaultOverridePriority over mkDefault to fix acme error without cashing with settings from tests 2025-07-11 15:36:14 +02:00
e4c4fe91aa
use mkDefault to prevent acme clash in tests 2025-07-11 15:36:14 +02:00
b74816f1cd
increase numInstances to 5 2025-07-11 15:36:02 +02:00
6f730805c2
Revert "switch to podman"
This reverts commit 60e7b841a9.
2025-07-11 15:36:02 +02:00
d6dd683c5c
runs-on: nix 2025-07-11 15:36:02 +02:00
4b0d9b4775
switch to podman 2025-07-11 15:36:02 +02:00
e2b5ddcc3d
increase numInstances to 3 2025-07-11 15:36:02 +02:00
7e8a0eaae3
add note on podman attempt 2025-07-11 15:36:02 +02:00
998f1041d4
reconciliate old/new runners 2025-07-11 15:36:02 +02:00
29365712b9
explicitly use custom container in CI 2025-07-11 15:36:02 +02:00
83035c58d6
explicitly allow running command to manually generating tokens from forgejo machine
additionally serves to document the needed command, for future
automation.
2025-07-11 15:36:02 +02:00
6658371154
set up ci container from clan
credit:
https://discourse.nixos.org/t/gitea-nix-actions-runner-setup/35279
2025-07-11 15:36:02 +02:00
89cce4eef7
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 15:36:02 +02:00
bab942b3f8
runs-on: docker 2025-07-11 15:36:02 +02:00
b2c67897ca
rm runner file 2025-07-11 15:36:02 +02:00
46e1680bfe
explicitly specify container image 2025-07-11 15:36:02 +02:00
8db305a48a
add label for new runner 2025-07-11 15:36:02 +02:00
a9117a8953
try out existing nix container made for gitea actions 2025-07-11 15:36:02 +02:00
8204f22e52
Switch all CI jobs to nixos label 2025-07-11 15:36:02 +02:00
2 changed files with 2 additions and 10 deletions

View file

@ -1,13 +1,5 @@
let
# pulling this in manually over from module args resolves an infinite recursion.
# FIXME: instead untangle `//infra/flake-part.nix` and make it stop passing wild functions.
# move moving towards a portable-services-like pattern where some things are submodules.
# Right now those wild functions are for parameterising a bunch of things,
# and the modular way to do that would be options --
# obviously you can't use those for `imports`,
# so one way to decouple fixpoints is to isolate them into submodules.
# Therefore one approach would be to try to go down the call graph,
# and see where what's currently a function could be a `submodule` field of something else.
# pulling this in manually over from module args resolves an infinite recursion
sources = import ../../npins;
in
{

View file

@ -1,10 +1,10 @@
{
config,
sources,
...
}:
let
name = "panel";
sources = import ../../../npins;
in
{
_class = "nixos";