Commit graph blog/.forgejo/workflows/test.yaml
Author SHA1 Message Date
5ff625feaa
Drop the container pipeline: the servers serve the flake
All checks were successful
CI / check (push) Successful in 7s
asxpio-services serves the site from this flake (services.blog), and
Traefik no longer routes to the container. The Dockerfile, nginx.conf,
docker-compose.yml and the Kaniko and deploy jobs go; CI builds the
package on every push, main included.

Assisted-by: Claude:opus-5-5
2026-11-17 13:12:54 +04:00
f4c1887a42
Build the site as a Nix package, with a NixOS module to serve it
All checks were successful
Test / check (push) Successful in 6s
Build and Deploy to Production / check (push) Successful in 6s
Build and Deploy to Production / build (push) Successful in 9s
Build and Deploy to Production / deploy (push) Successful in 27s
packages.default is the built site; nixosModules.default (services.blog)
serves it from an nginx virtual host on a port, for Traefik to proxy.
The servers will take it from here instead of the container image. CI
now builds the package, so a change that breaks it never reaches main.

The container deploy stays until the NixOS service has taken over.

Assisted-by: Claude:opus-5-5
2026-11-17 12:17:53 +04:00
e4bba4e1d7
Pin exact versions of images and actions
All checks were successful
Test / check (push) Successful in 5s
Build and Deploy to Production / check (push) Successful in 5s
Build and Deploy to Production / build (push) Successful in 13s
Build and Deploy to Production / deploy (push) Successful in 19s
Floating tags (17-alpine, 3.4-slim, nginx:alpine, :latest, :debug, @v7)
change under a deploy without anyone deciding it: the storage deploy
moved Postgres to 17.12 on its own because of postgres:17-alpine. Pin
every image and action to its exact current version, so each change
arrives as a reviewed Renovate PR and a rollback is a revert.

Assisted-by: Claude:opus-5-5
2026-11-13 02:46:53 +04:00
16f0c750c7 deps: Update actions/checkout action to v7
All checks were successful
Test / check (push) Successful in 5s
2026-11-12 21:48:26 +00:00
6e2cc3c153
Set nix options through NIX_CONFIG in CI
Some checks failed
Build and Deploy to Production / check (push) Successful in 20s
Build and Deploy to Production / build (push) Failing after 1s
Build and Deploy to Production / deploy (push) Has been skipped
The runner mounts a persistent nix-store volume over /nix, and the
nixos/nix image makes /etc/nix/nix.conf a symlink into /nix/store. When
the volume and image versions differ, the link dangles and appending to
it fails before checkout. That broke asxpio and datacenterbingo CI on
2026-10-18.

Pass the settings in NIX_CONFIG instead, with build-users-group empty
and the sandbox off as the image config has them.

Assisted-by: Claude:opus-5-5
2026-10-18 09:48:30 +04:00
a4b677f898
blog: Zola site, nginx image, Forgejo deploy pipeline
All checks were successful
Build and Deploy to Production / check (push) Successful in 9s
Build and Deploy to Production / build (push) Successful in 25s
Build and Deploy to Production / deploy (push) Successful in 36s
2026-07-16 19:51:31 +04:00