feat: add reusable CI/CD pipeline templates

Reusable Gitea Actions workflows for lint, test, build, and deploy:
- lint-python, lint-node, lint-rust
- test-python, test-node, test-rust
- build-push (Docker build + push to Gitea registry)
- deploy-k8s (GitOps image tag update in cluster repo)

Plus example caller workflows for python-fullstack, rust-service,
and node-frontend stacks. Branch refs aligned to staging per CON-570 standards.
This commit is contained in:
Platform Engineer
2026-03-31 19:55:17 +03:00
parent 491bb8dbfd
commit a620868998
15 changed files with 783 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
# Example CI workflow for a Node.js/TypeScript frontend service (e.g. clok1-landing)
# Place in your repo at: .gitea/workflows/ci.yml
name: CI
on:
pull_request:
branches: [main, staging]
push:
branches: [main, staging]
concurrency:
group: ci-${{ gitea.ref }}
cancel-in-progress: true
jobs:
lint:
uses: wectrl-net/ci-templates/.gitea/workflows/lint-node.yaml@main
with:
node-version: "22"
test:
uses: wectrl-net/ci-templates/.gitea/workflows/test-node.yaml@main
with:
node-version: "22"