chore: M0 foundation - check script, hook, CI, deploy, skills #11

Closed
mariusz.pacek wants to merge 0 commits from mariusz.pacek/chore/m0-foundation AGit into master
pull from: mariusz.pacek/chore/m0-foundation
Owner

One gate for local pushes and CI (scripts/check.sh: doc limits, secret scan, build, tests), Drone and Dockerfile removed, deploy-gateway.sh with health check and rollback (tested against stubs, not yet run on the Pi), /ship and /close-milestone skills. The backend image moves to M3. 🤖 Generated with Claude Code

One gate for local pushes and CI (scripts/check.sh: doc limits, secret scan, build, tests), Drone and Dockerfile removed, deploy-gateway.sh with health check and rollback (tested against stubs, not yet run on the Pi), /ship and /close-milestone skills. The backend image moves to M3. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
mariusz.pacek added 6 commits 2026-10-23 21:51:06 +00:00
Runs doc line limits from CONTRIBUTING.md, a secret scan over tracked
files and the Maven build with tests. The pre-push hook and CI will both
call it, so a push that passes locally passes in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both gates now run the same script instead of CI running only the tests.
The hook lives in .githooks so it is versioned; each clone enables it once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gitea Actions replaced Drone, and the Dockerfile packaged a Java 11 image
of a jar that runs on the Pi, not in Docker. The backend image comes with
the backend itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploys only a clean master that matches origin, checks ssh and sudo on
the Pi before touching anything, swaps the jar, restarts the service and
keeps the previous jar. /health reports UP for minutes after a start even
without a read, so the script also requires the process to survive 30 s
without systemd restarting it; otherwise it restores the previous jar.
The version is tagged only after a healthy start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both workflows repeat for every PR and milestone; written down once they
follow CONTRIBUTING.md the same way each time, including when a deploy
needs the user's approval.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(roadmap): M0 progress; backend image moves to M3
CI / Backend tests (Maven / Java 21) (push) Successful in 44s
dc5efc07e1
The backend does not exist yet, so CI has no image to build; it comes
with the backend in M3. The deploy item stays open until the script has
run once on the Pi.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek added 1 commit 2026-10-23 21:51:28 +00:00
chore(ship): note one-line PR description and updating an AGit PR
CI / Backend tests (Maven / Java 21) (push) Successful in 42s
bfecae8b1f
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mariusz.pacek closed this pull request 2026-10-23 22:04:44 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mariusz.pacek/home-pump#11