Commit Graph
29 Commits
Author SHA1 Message Date
claude-bot Bot 66a745b3c1 Merge pull request 'Docs: Leave image pinning out of stack adoption' (#22) from docs/defer-image-pinning into main
Checks / Secret Scan (push) Successful in 5s
Checks / Lint (push) Successful in 36s
2026-12-04 04:24:40 +01:00
kasun 3069d62fb3 docs: defer image pinning when adopting stacks
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 36s
2026-12-04 04:22:02 +01:00
claude-bot Bot 72485d6037 Merge pull request 'Feature: Render stack secrets from OpenBao and adopt Gitea' (#21) from feature/render-stack-env-from-openbao into main
Checks / Secret Scan (push) Successful in 5s
Deploy Stacks / Deploy Stacks (push) Successful in 6s
Checks / Lint (push) Successful in 33s
2026-12-04 04:21:47 +01:00
kasun 69a1c0a9fb docs: keep imported secret values as they are
Checks / Secret Scan (pull_request) Successful in 6s
Checks / Lint (pull_request) Successful in 46s
2026-12-04 04:20:25 +01:00
kasun 6e2dd06b9e feature(stacks): adopt gitea with secrets from OpenBao
Checks / Secret Scan (pull_request) Successful in 8s
Checks / Lint (pull_request) Successful in 1m15s
Gitea runs the deploy pipeline, so it gets its own playbook that is run by
hand and never from a workflow.
2026-12-04 04:09:41 +01:00
kasun 5309aa0cdd docs: document handling secrets with OpenBao 2026-12-04 04:09:39 +01:00
kasun 27240cef17 feature(roles): render stack env files from OpenBao
Stacks with an env.j2 get their .env from OpenBao, so secrets stay out of the
repo. The address and AppRole credentials are read from files on the ansible
LXC, which keeps hostnames out of the public repo.
2026-12-04 04:09:38 +01:00
claude-bot Bot 90324a0501 Merge pull request 'Feature: Deploy stacks automatically on merge' (#17) from feature/deploy-stacks-on-merge into main
Checks / Secret Scan (push) Successful in 5s
Deploy Stacks / Deploy Stacks (push) Successful in 4s
Checks / Lint (push) Successful in 24s
2026-11-27 21:44:55 +01:00
kasun 4852971991 docs: note that merging a stack change deploys it
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 21s
2026-11-27 21:43:06 +01:00
kasun 4d8c3cc0b4 feature(ci): deploy stacks on push to main 2026-11-27 21:43:02 +01:00
claude-bot Bot 431702ff74 Merge pull request 'Bug: Create the stack directory on first deploy' (#16) from bug/create-missing-stack-directory into main
Checks / Secret Scan (push) Successful in 6s
Checks / Lint (push) Successful in 33s
2026-11-27 21:30:30 +01:00
kasun 67addcbe1b bug(roles): create stack directory before copying compose file
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 21s
The first deployment of a new stack failed because the copy task does not
create the missing destination directory.
2026-11-27 21:29:02 +01:00
claude-bot Bot e654ae3bec Merge pull request 'Feature: Deploy it-tools through Ansible' (#15) from feature/adopt-it-tools-stack into main
Checks / Secret Scan (push) Successful in 5s
Checks / Lint (push) Successful in 22s
2026-11-27 21:10:25 +01:00
kasun 1b25ff1450 docs: drop the dry run requirement for adopting a stack
Checks / Secret Scan (pull_request) Successful in 6s
Checks / Lint (pull_request) Successful in 20s
2026-11-27 21:08:21 +01:00
kasun a23ba7bee8 feature(ci): add manual deploy stacks workflow 2026-11-27 21:08:17 +01:00
kasun 1b05e959e3 feature(stacks): adopt it-tools stack
The image stays on latest with its Watchtower label until there is an
image pinning strategy.
2026-11-27 21:08:13 +01:00
kasun 0289a216ba feature(roles): add docker_stack role 2026-11-27 21:08:10 +01:00
kasun 660765d1c6 chore: pin community.docker and install it in CI
ansible-core ships only ansible.builtin, so ansible-lint cannot resolve
community.docker modules without the collection.
2026-11-27 21:08:07 +01:00
claude-bot Bot 3b5d3b7b17 Merge pull request 'Chore: Add /merge skill with an enforced review gate' (#13) from chore/add-merge-skill into main
Checks / Secret Scan (push) Successful in 6s
Checks / Lint (push) Successful in 9s
2026-11-27 04:01:56 +01:00
kasun 1e02dd5930 chore(claude): close remaining gaps in the merge gate
Checks / Secret Scan (pull_request) Successful in 8s
Checks / Lint (pull_request) Successful in 9s
Gitea's issue comments endpoint ignores paging, so the hook now reads all
comments in one call; the paged loop refused every merge. Any command that
calls gitea.sh and mentions a merge must now be the strict form as a whole,
while commands that only name gitea.sh as a file (git add, git diff) pass.
The body may only pin the head commit, and curl calls have time limits so
the hook can't time out into a non-blocking error.
2026-11-27 03:57:18 +01:00
kasun f45fb7421a chore(claude): make the merge gate fail closed
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 10s
The first review found ways around the hook: unexpected errors exited with
non-blocking codes, unusual spellings of the merge path skipped it, and an
older pass outlived a newer fail. The ask rule for merges is back as a second
layer, so merging outside /merge is enforced, not just instructed.
2026-11-27 03:39:19 +01:00
kasun 737a3a29ec chore(claude): add merge skill with review gate
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 12s
/merge takes changes from commit to merged PR in one run. A PreToolUse hook
refuses any merge without a passing review comment for the PR's current head
commit, so the review can't be skipped or go stale after new commits.
2026-11-27 03:27:38 +01:00
claude-bot Bot 2c3d58d678 Merge pull request 'Feature: Add Ansible foundation and connectivity check' (#2) from feature/add-ansible-foundation into main
Checks / Secret Scan (push) Successful in 5s
Checks / Lint (push) Successful in 9s
2026-11-26 01:33:31 +01:00
kasun 2d24f767e1 feature: add ansible foundation and connectivity check
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 9s
First read-only run on the dedicated ansible runner proves the inventory, SSH access and Docker on the docker host before any stack is adopted.
2026-11-25 20:20:37 +01:00
kasun 6d404e2b21 chore(claude): add repo conventions and agent guardrails 2026-11-23 21:55:51 +01:00
kasun b56ea412de Merge pull request 'Chore: Add secret scan and lint checks' (#1) from chore/add-repo-guardrails into main
Checks / Secret Scan (push) Successful in 5s
Checks / Lint (push) Successful in 9s
Reviewed-on: #1
2026-11-23 05:13:37 +01:00
kasun 8532e38151 chore(ci): add secret scan and lint checks
Checks / Secret Scan (pull_request) Successful in 5s
Checks / Lint (pull_request) Successful in 1m5s
2026-11-23 05:08:47 +01:00
kasun 0f6a7fc105 chore: replace generated gitignore with focused rules 2026-11-23 04:58:03 +01:00
kasun 71fbe77ed1 Initial commit 2026-11-23 04:51:31 +01:00