Commit graph asxpio/Dockerfile
Author SHA1 Message Date
8a53051c86
Reapply "Ruby 4.0.9, in the image and the flake"
This reverts commit c56469f323.
2026-11-13 03:52:57 +04:00
c56469f323
Revert "Ruby 4.0.9, in the image and the flake"
All checks were successful
Tests / test (push) Successful in 23s
Build and Deploy to Production / test (push) Successful in 22s
Build and Deploy to Production / build (push) Successful in 1m0s
Build and Deploy to Production / deploy (push) Successful in 40s
The deploy (run 458) crash-looped: under Ruby 4 the default bigdecimal
is 4.0.1, and ttfunk 1.8.0 (prawn, invoice PDFs) requires bigdecimal
~> 3.1, so the app fails to load (Gem::ConflictError). The pre-merge
boot test stopped at the database connection, before prawn was
loaded, so it missed this. Production was rolled back by hand to
768b10e1; this puts main back in step.

Assisted-by: Claude:opus-5-5
2026-11-13 03:40:58 +04:00
7b344540fe
Ruby 4.0.9, in the image and the flake
Some checks failed
Tests / test (push) Successful in 46s
Build and Deploy to Production / test (push) Successful in 21s
Build and Deploy to Production / build (push) Successful in 1m0s
Build and Deploy to Production / deploy (push) Failing after 2m3s
Move the production image to ruby:4.0.9-slim-bookworm (same distro, so
native gems build against the same libraries) and the dev shell to
nixpkgs' ruby_4_0, also 4.0.9, so the tests run on the Ruby that ships.

Ruby 4's Bundler 4 dropped `bundle install --without`; set
BUNDLE_WITHOUT instead, which Bundler 2 reads too. The lockfile stays
BUNDLED WITH 2.7.2 (nixpkgs' bundler; Bundler 4 switches to it).

Checked before merging: the image builds, keeps the test gems out, and
boots Puma 8.0.2 on Ruby 4.0.9 through to opening the database.

Rollback: revert this commit and redeploy (or re-tag the previous image).

Assisted-by: Claude:opus-5-5
2026-11-13 03:34:46 +04:00
a3184628a3
Pin exact versions of images and actions
All checks were successful
Tests / test (push) Successful in 30s
Build and Deploy to Production / test (push) Successful in 21s
Build and Deploy to Production / build (push) Successful in 59s
Build and Deploy to Production / deploy (push) Successful in 39s
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
201a70b07b
bingo: SEO pass and resized photos
All checks were successful
Build and Deploy to Production / test (push) Successful in 22s
Build and Deploy to Production / build (push) Successful in 1m1s
Build and Deploy to Production / deploy (push) Successful in 39s
The bingo host fell through to asxp.io's public/, so crawlers got
asxp.io's robots.txt pointing at asxp.io's sitemap (and the keys and
invoice JS were served too). Turn static files off for BingoWeb and give
it its own robots.txt and a sitemap with hreflang alternates.

The card loaded 15.6 MB of full-size photos as cell backgrounds. Derive
480/1200 px WebP variants with ImageMagick on store (memory/area limits,
input coder pinned to the sniffed type), render cells as <img> with lazy
loading past the first two rows, and add an admin action that rebuilds
variants from the stored originals.

Head gets per-locale titles and descriptions carrying the live score,
og:image from the latest hit, Twitter card, og:locale alternates,
JSON-LD WebSite + ItemList, and Vary: Accept-Language on the redirect.

Assisted-by: Claude:opus-5
2026-10-10 06:26:03 +04:00
d1d82d90ff
docker: HEALTHCHECK via /healthz, freeze bundle to lockfile 2026-07-02 18:32:53 +04:00
43bed98329
tests: minitest + rack-test suite, bin/test with ephemeral Postgres 2026-07-02 17:32:14 +04:00
2ea46b12e6
gems: add pg, sequel, prawn, aws-sdk-s3 for invoicing
- pg + sequel: connect to the storage stack's Postgres.
- prawn + prawn-table: render invoice PDFs.
- aws-sdk-s3: upload PDFs to MinIO and mint presigned download URLs.

Also pulls libpq-dev into the Docker build (for the pg gem) and the
postgresql client lib into the Nix dev shell.
2026-05-26 17:29:21 +03:00
1ab09043ee
ruby rework with contact form
All checks were successful
Build and Deploy to Production / build (push) Successful in 51s
Build and Deploy to Production / deploy (push) Successful in 34s
2026-05-05 00:45:27 +04:00
0cc457c1fa
hedgehog
All checks were successful
Build and Deploy to Production / build (push) Successful in 6s
Build and Deploy to Production / deploy (push) Successful in 19s
2025-11-25 05:27:31 +02:00
13f6db18f2
ci/cd 2025-11-25 05:24:04 +02:00