chore: remove the hugo-docs service and docs.git hostname #141

Merged
jfraeys merged 1 commit from jfraeys/chore/remove-hugo-docs into main 2026-10-13 19:46:44 -04:00
Owner

hugo-docs was added 2026-07-08 (7bbdcf5) with no recorded plan. Its jfraeys/docs repo returns 404, so the live container has only ever served Hugo's built-in placeholder (7 pages, Hugo 0.111.3). The image, klakegg/hugo, is abandoned and carried 55 CRITICAL findings in the 2026-10-13 trivy report. The official gohugoio/hugo image has none, but migrating it means rewriting the entrypoint and fixing the ananke theme (broken on current Hugo) for a site with no content, so it is removed instead.

Removed:

  • hugo-docs compose service and files/hugo-entrypoint.sh (+ its copy task)
  • docs_hostname var, the Forgejo extra_hosts entry
  • the staging /etc/hosts entry and the two docs TLS-warmup tasks in playbooks/services.yml
  • doc mentions (forgejo CLAUDE.md, update-and-patch-policy, FUTURE_IMPROVEMENTS)

Not removed: the *.git DNS wildcard (covers any Forgejo subdomain).

After deploy: docker compose up -d does not remove orphans, so the forgejo-hugo-docs-1 container and /opt/forgejo/hugo-entrypoint.sh stay on services until removed by hand.

🤖 Generated with Claude Code

`hugo-docs` was added 2026-07-08 (7bbdcf5) with no recorded plan. Its `jfraeys/docs` repo returns 404, so the live container has only ever served Hugo's built-in placeholder (7 pages, Hugo 0.111.3). The image, `klakegg/hugo`, is abandoned and carried 55 CRITICAL findings in the 2026-10-13 trivy report. The official `gohugoio/hugo` image has none, but migrating it means rewriting the entrypoint and fixing the ananke theme (broken on current Hugo) for a site with no content, so it is removed instead. Removed: - `hugo-docs` compose service and `files/hugo-entrypoint.sh` (+ its copy task) - `docs_hostname` var, the Forgejo `extra_hosts` entry - the staging `/etc/hosts` entry and the two docs TLS-warmup tasks in `playbooks/services.yml` - doc mentions (forgejo CLAUDE.md, update-and-patch-policy, FUTURE_IMPROVEMENTS) Not removed: the `*.git` DNS wildcard (covers any Forgejo subdomain). After deploy: `docker compose up -d` does not remove orphans, so the `forgejo-hugo-docs-1` container and `/opt/forgejo/hugo-entrypoint.sh` stay on services until removed by hand. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chore: remove the hugo-docs service and docs.git hostname
All checks were successful
Lint / lint (pull_request) Successful in 2m2s
Secret scan / scan (pull_request) Successful in 13s
1a5daa8d5d
Added 2026-07-08 with no recorded plan; its jfraeys/docs repo never existed,
so it only ever served the built-in placeholder site (Hugo 0.111.3 on
klakegg/hugo, which is abandoned: 55 CRITICAL findings in the 2026-10-13
trivy report). Removes the compose service, entrypoint script, docs_hostname,
the Forgejo extra_hosts entry, and the staging /etc/hosts and TLS-warmup steps.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
jfraeys force-pushed jfraeys/chore/remove-hugo-docs from 1a5daa8d5d
All checks were successful
Lint / lint (pull_request) Successful in 2m2s
Secret scan / scan (pull_request) Successful in 13s
to a4592e9210
All checks were successful
Lint / lint (pull_request) Successful in 2m36s
Secret scan / scan (pull_request) Successful in 14s
2026-10-13 19:46:35 -04:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!141
No description provided.