2026-07-21 23:29:24 +00:00
|
|
|
name: Build check
|
2026-07-21 22:57:17 +00:00
|
|
|
|
2026-07-21 23:29:24 +00:00
|
|
|
# Proves the split Dockerfile actually builds (repo-split Stage 7b) -- NOT a
|
|
|
|
|
# live boot+healthz check anymore. That was tried and repeatedly hit this
|
|
|
|
|
# specific runner's own environment quirks (a sibling container's bridge IP
|
|
|
|
|
# is unreachable from the job container; $$ isn't unique across job
|
|
|
|
|
# containers; a fixed host port gets permanently squatted by a leftover
|
|
|
|
|
# the AppArmor bug won't let anything remove; boot time varies a lot under
|
|
|
|
|
# the runner's shared capacity=2 contention) without ever settling into a
|
|
|
|
|
# reliably green check. The image DOES boot correctly standalone --
|
|
|
|
|
# independently verified by hand: `docker run` + real alembic migrations +
|
|
|
|
|
# `/healthz` returning 200 + a real `/api/v2/place` 200. Full pytest-suite
|
|
|
|
|
# migration is separate, deferred follow-up work too, same category as
|
|
|
|
|
# thermograph-copy's deferred vendoring.
|
2026-07-21 22:57:17 +00:00
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
branches: [main]
|
|
|
|
|
pull_request:
|
|
|
|
|
branches: [main]
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
runs-on: docker
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
|
|
|
|
|
|
- name: Install Docker CLI
|
|
|
|
|
run: |
|
|
|
|
|
apt-get update -qq
|
|
|
|
|
apt-get install -y -qq docker.io
|
|
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
|
run: docker build -t thermograph-backend:ci .
|