Add central CI/CD controller for all Gitea projects
- Webhook-based controller listens for push events from all repos - Auto-detects Dockerfile, triggers Kaniko build, pushes to registry - Updates gitops-infra kustomization with new image tag - Auto-scaffolds gitops environment for new projects - Ignores non-main branches and repos in ignore list (gitops-infra) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
9
infrastructure/ci-controller/Dockerfile
Normal file
9
infrastructure/ci-controller/Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM python:3.12-alpine
|
||||
|
||||
RUN apk add --no-cache git curl kubectl
|
||||
|
||||
WORKDIR /app
|
||||
COPY controller.py .
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["python3", "controller.py"]
|
||||
Reference in New Issue
Block a user