Commit Graph

5 Commits

Author SHA1 Message Date
Martin Maslyankov
7203c9a8f7 fix(deploy): fix multiline commit message truncation in deploy-k8s.yaml
Gitea Actions expression evaluator truncates multiline strings in
git commit -m "...", causing EOF while looking for matching quote.
Build the commit message in a variable instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 06:23:34 +03:00
Martin Maslyankov
d61031bc82 fix(deploy): add shell: bash for bash-specific syntax in deploy-k8s.yaml
${SHA:0:7} substring expansion is bash-specific and fails in sh.
Adding explicit shell: bash to both steps, matching the fix already
applied to build-push.yaml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 06:12:02 +03:00
Martin Maslyankov
6e6511e39c fix: detect architecture for yq download in deploy template
The runner is ARM64 but yq was hardcoded to download amd64 binary.
Auto-detect architecture to download the correct binary.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 06:02:42 +03:00
Platform Engineer
290b9a9eb9 harden: P1/P2 improvements from CON-571 review
P1 — deploy-k8s.yaml:
- Add set -euo pipefail to all run blocks
- Replace sed-based image tag patching with yq for YAML-safe updates
- Add source commit SHA and CI run link to deploy commit messages
- Install yq v4.44.1 as prerequisite step

P1 — build-push.yaml:
- Add runner input parameter for future ARM64 self-hosted runners
  (default: ubuntu-latest with QEMU emulation)

P2 — test-python.yaml:
- Add pyproject.toml support (pip install -e) before requirements.txt fallback

P2 — build-push.yaml:
- Pin catthehacker/ubuntu container image to act-22.04 (was act-latest)

Ref: CON-578
2026-03-31 19:59:09 +03:00
Platform Engineer
a620868998 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.
2026-03-31 19:55:17 +03:00