Commit Graph

8 Commits

Author SHA1 Message Date
de2dc4da2d feat: split runNodeTest into runNodeInstall + runNodeTest, add lcov to sonar
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 16:08:23 +07:00
22c8593d23 fix: use sonar-scanner-cli container instead of npx for sonar scan
npx sonar-scanner fails on node:18-slim — no Java. Switch to dedicated
sonarsource/sonar-scanner-cli container with Java + scanner bundled.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 15:25:49 +07:00
1bd3dd7b82 feat: add scanCodeQuality var for SonarQube scanning
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-02 14:51:23 +07:00
ae09aa2183 feat: add strategy closure methods to BranchStrategy
Mirrors company BasePipeline pattern — each strategy method executes
the closure only when the branch matches.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 14:53:17 +07:00
420b43021c fix: disable helm chart bump for all branches
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-27 14:44:35 +07:00
647a6f28a7 fix: also push :latest tag on every build
values.yaml image.tag defaults to 'latest' for initial deploy.
Pipeline always pushes both <branch>-<random8> and :latest so
ArgoCD can pull the newest image without a chart version bump.
2026-04-26 15:00:31 +07:00
2e3a68421b feat: add BranchStrategy class
Mirrors company BasePipeline pattern. Static methods determine
what pipeline stages run per branch:
- PR-*: test only
- feature/*: test + build/push + helm bump + git push
- develop/main/release/hotfix: test + build/push only

imageTag() returns branch-appropriate tag format:
release/x.y.z -> x.y.z, others -> <prefix>-<random8>
2026-04-26 13:55:58 +07:00
10c2f73587 first commit 2026-04-26 13:43:49 +07:00