Publish the site as a container on the cluster instead of the pages branch #54

Merged
kathleen merged 2 commits from deploy/kubernetes into main 2026-11-22 01:52:36 +00:00
Owner

Every push to main now builds the Atlas page into an nginx image and pushes it to
harbor.kenschiano.net/home/threshing-atlas:latest (.gitea/workflows/image.yml).
Argo CD Image Updater picks up the new digest and rolls the deployment in kubefiles
(web/threshing-atlas), served at https://threshingatlas.kenschiano.net. The site is already live from a
manually pushed image; this makes merges keep it current.

  • Dockerfile + deploy/nginx.conf: node builds the site, unprivileged nginx serves it on 8080 (/healthz for probes)
  • Removes .gitea/workflows/pages.yml (the pages branch is no longer served)
  • forge.yaml site: and data/croissant.json url point to the new address

Before merging: add repo or org secrets HARBOR_USERNAME and HARBOR_PASSWORD (a Harbor robot account with push access to the home project), or the image workflow will fail.

🤖 Generated with Claude Code

Every push to main now builds the Atlas page into an nginx image and pushes it to `harbor.kenschiano.net/home/threshing-atlas:latest` (`.gitea/workflows/image.yml`). Argo CD Image Updater picks up the new digest and rolls the deployment in kubefiles (`web/threshing-atlas`), served at https://threshingatlas.kenschiano.net. The site is already live from a manually pushed image; this makes merges keep it current. - `Dockerfile` + `deploy/nginx.conf`: node builds the site, unprivileged nginx serves it on 8080 (`/healthz` for probes) - Removes `.gitea/workflows/pages.yml` (the `pages` branch is no longer served) - `forge.yaml` `site:` and `data/croissant.json` `url` point to the new address **Before merging:** add repo or org secrets `HARBOR_USERNAME` and `HARBOR_PASSWORD` (a Harbor robot account with push access to the `home` project), or the image workflow will fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
kschiano added 1 commit 2026-11-22 01:44:11 +00:00
Every push to main builds the page into an nginx image and pushes it to
harbor.kenschiano.net/home/threshing-atlas; Argo CD Image Updater rolls the
deployment (kubefiles web/threshing-atlas) at https://threshingatlas.kenschiano.net.
forge.yaml now names that address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kschiano added 1 commit 2026-11-22 01:49:48 +00:00
Build the site image on Red Hat's hardened images
CI / test (pull_request) Successful in 41s
b9d692a91c
Node build on hi/nodejs:22-builder, the nginx config checked with `nginx -t` on
hi/nginx:latest-builder, served by the distroless hi/nginx runtime (UID 65532,
no shell). nginx keeps temp files in /tmp so the pod can run with a read-only
root filesystem; adds nosniff/referrer headers and hides the nginx version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
kathleen merged commit 661730d7fe into main 2026-11-22 01:52:36 +00:00
kathleen deleted branch deploy/kubernetes 2026-11-22 01:52:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DragonKind/threshing-atlas#54