1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-08 23:05:21 +00:00
No description
Find a file
Claude 6f803bf10e
Add comprehensive e2e tests for repo-watcher-controller
Tests cover the key behaviors of the repo-watcher:
- Branch discovery: auto-creates GitBranch CRDs from remote refs
- Owner references: created branches correctly reference GitRepository
- New branch detection: branches added on Gitea are picked up
- Commit update detection: new pushes to Gitea update headCommit
- Branch deletion: branches removed from Gitea trigger CRD deletion
- Multiple branches: all branches on a repo are discovered
- LastFetchTime: status is updated and advances on each poll
- Labels: repository label is set on created branches
- Slash branch names: feature/foo naming handled correctly

Also adds shared e2e helpers for Gitea branch/file operations and
updates CI workflow to deploy and monitor the repo-watcher-controller.

https://claude.ai/code/session_01P7xfBqARU5DFS8QJ4uDPVj
2026-02-28 14:15:28 +00:00
.github/workflows Add comprehensive e2e tests for repo-watcher-controller 2026-02-28 14:15:28 +00:00
cmd Add repo-watcher-controller for polling remote Git refs 2026-02-28 14:09:58 +00:00
config Add repo-watcher-controller for polling remote Git refs 2026-02-28 14:09:58 +00:00
hack Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00
pkg Add repo-watcher-controller for polling remote Git refs 2026-02-28 14:09:58 +00:00
test/e2e Add comprehensive e2e tests for repo-watcher-controller 2026-02-28 14:15:28 +00:00
.gitignore Add .gitignore for Go binaries and IDE files 2026-02-28 00:14:29 +00:00
.ko.yaml Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00
CLAUDE.md Add repo-watcher-controller for polling remote Git refs 2026-02-28 14:09:58 +00:00
go.mod go get -u ./... && go mod tidy: update dependencies 2026-02-28 04:14:23 +00:00
go.sum go get -u ./... && go mod tidy: update dependencies 2026-02-28 04:14:23 +00:00