Commit Graph

56 Commits

Author SHA1 Message Date
7d2320b38a FIX(build): init container: create build directory
- Add mkdir -p /workspace/build before copying files
- Add set -e for early error detection
- Add debug output for better visibility
- This fixes 'No such file or directory' error
2025-12-28 18:03:00 +09:00
37a7dbd561 CHORE(deploy): use argocd for kaniko
Infrastructure as Code:
- Add Kaniko namespace and RBAC manifests
- Create ArgoCD Application for Kaniko infrastructure
- Kustomize configuration for Kaniko resources

Workflow improvements:
- Remove kubeconfig dependency
- Use in-cluster ServiceAccount (runner runs in K8s)
- Remove all sudo commands
- Simplify Kubernetes access

GitOps workflow:
1. Push manifests to Git
2. ArgoCD auto-syncs infrastructure
3. Gitea runner uses ServiceAccount permissions
4. Kaniko builds run in kaniko-builds namespace

Benefits:
- True GitOps approach
- No secrets management needed
- Declarative infrastructure
- ArgoCD handles reconciliation
- Audit trail in Git
2025-12-28 17:36:10 +09:00
38cf2fb891 REFACTOR(app): extract kaniko manifest
- Create deploy/kaniko/job.yaml as template
- Use sed for template variable substitution
- Remove inline YAML heredoc from workflow
- Simplify workflow logic with template-based approach
- Add resource limits for Kaniko container
- Improve logging and error handling

Benefits:
- Better code organization and readability
- Easier to maintain and test
- Reusable manifest template
- Version controlled configuration
2025-12-28 17:05:14 +09:00
67baabcf29 PERF(app): optimize CPU from metrics
- jovies prod: 15m → 5m (actual: 1-2m)
2025-12-26 11:46:56 +09:00
ac66732ffc FEAT(app): add per-application ingress management
- Added ingress.yaml for production and development environments
- Updated kustomization files to include ingress resources
- Migrated from centralized ingress management to per-app architecture
2025-12-25 20:26:42 +09:00
8ff104fa09 FIX(app): fix image path mayne0213 to bluemayne
- Change image path to match Gitea repository name
- Fix container registry reference
2025-12-20 14:02:23 +09:00
7b6f2465c4 REFACTOR(app): switch to gitea registry
- Migrate container registry to Gitea
- Update image references
2025-12-20 14:02:23 +09:00
e34b91e285 CHORE(build): switch to kaniko builds
- Replace Docker build with Kaniko
- Enable secure rootless container builds
2025-12-20 14:02:23 +09:00
ba2ef73bfb CHORE(merge): merge develop to main
- Switch to Gitea container registry
- Merge registry migration changes
2025-12-20 13:04:36 +09:00
673921be5c REFACTOR(auth): use gitearegistry secret
- Change to gitearegistry secret for authentication
- Update registry credentials
2025-12-20 13:04:10 +09:00
ce5894d2be CHORE(app): switch to Gitea container registry
- Migrate from ghcr.io to Gitea registry
- Update image references
2025-12-20 12:29:16 +09:00
5847b3ff2f FEAT(deploy): add prod argocd app
- Add ArgoCD Application for production environment
- Enable prod deployment management
2025-12-17 20:28:07 +09:00
4d858047cf CHORE(deploy): update argocd path
- Move ArgoCD application to deploy/argocd
- Update path references
2025-12-17 18:37:58 +09:00
d59294995d CHORE(deploy): update argocd path
- Move ArgoCD application to deploy/argocd
- Update path references
2025-12-17 18:33:10 +09:00
fafc265895 REFACTOR(deploy): move argocd manifests
- Reorganize ArgoCD application structure
- Move manifests to deploy/argocd folder
2025-12-17 18:27:23 +09:00
c877661fd2 REFACTOR(deploy): remove argocd yaml
- Remove ArgoCD application from kustomization
- Prevent duplicate resource management
2025-12-17 18:17:05 +09:00
41f67ad236 FEAT(app): add self-managing application resources
- Add ArgoCD Application manifest
- Enable GitOps self-management
2025-12-17 18:02:02 +09:00
7af520bc03 CHORE(app): eliminate GitHub references
- Remove GitHub-specific configurations
- Clean up unused references
2025-12-13 11:52:29 +09:00
31ecd1dda4 CHORE(merge): merge branch main into develop
- Sync develop with main branch
- Resolve merge conflicts
2025-12-12 00:48:47 +09:00
825d5b24a1 CHORE(merge): merge branch develop
- Sync main with develop branch
- Apply development changes
2025-12-09 03:37:11 +09:00
2cd0f180c6 REFACTOR(app): change replica count
- Update deployment replicas
- Adjust scaling configuration
2025-12-09 03:36:58 +09:00
7043d32296 CHORE(merge): merge branch develop
- Sync main with develop branch
- Apply development changes
2025-12-05 23:11:58 +09:00
48de6bad29 REFACTOR(app): remove CPU limit
- Remove CPU limits from deployment
- Prevent container throttling
2025-12-05 23:10:08 +09:00
c2a8ba0bee CHORE(merge): merge develop branch
- Apply ARM64 native runner changes
- Remove QEMU emulation
2025-12-05 22:49:05 +09:00
5c15e8eb13 REFACTOR(app): use native ARM64 runner
- Switch to native ARM64 runner
- Remove QEMU emulation overhead
2025-12-05 22:48:44 +09:00
bafb4dd8b9 CHORE(merge): merge develop branch
- Apply CPU limit removal
- Sync with development changes
2025-12-05 22:41:20 +09:00
d85430c421 REFACTOR(app): remove CPU limits
- Remove CPU limit configuration
- Improve container performance
2025-12-05 22:39:31 +09:00
92252484ac CHORE(app): reduce resource limits
- CPU limit: 300m → 50m (prod), 210m → 30m (dev)
- Memory limit: 120Mi → 100Mi (prod), 84Mi → 100Mi (dev)
- ResourceQuota adjusted accordingly

Actual usage: ~1m CPU, ~56Mi memory
2025-12-05 22:14:09 +09:00
90cd08c032 CHORE(app): increase CPU limits
- Increase CPU limits
- Reduce throttling
2025-12-05 01:43:13 +09:00
ba4b619832 CHORE(merge): merge develop into main
- Apply ARM64 optimization from develop
- Sync with development branch
2025-12-04 22:06:39 +09:00
8037c0a241 PERF(docker): optimize for arm64 only
- Optimize for arm64 only
- Remove multi-platform build
2025-12-04 22:06:20 +09:00
1b7dcf110d CHORE(app): add images to kustomization
- Add images section for CD pipeline
- Enable image tag updates
2025-12-03 15:27:29 +09:00
7efc5eae6e CHORE(ci): add develop branch support for CI/CD
- Enable CI/CD for develop branch
- Add branch-specific workflows
2025-12-03 15:12:01 +09:00
014a68494d CHORE(app): add images to kustomization
- Add images configuration for ArgoCD
- Enable image updates via GitOps
2025-12-03 15:07:34 +09:00
ad867df573 REFACTOR(app): remove hardcoded image tag
- Remove static image tag
- Enable dynamic image updates
2025-12-03 14:42:47 +09:00
30c890b17c FEAT(config): add dev environment
- Add development environment configuration
- Set resources to 70% of production
2025-12-03 14:24:18 +09:00
0831e3e288 CHORE(app): increase ResourceQuota to 3x
- Increase resource quota for scaling
- Prepare for future growth
2025-12-03 13:29:55 +09:00
ae3ecfc8eb CHORE(app): update prod overlay replicas to 2
- Scale production to 2 replicas
- Improve availability
2025-12-03 13:25:20 +09:00
aa59dfa97c CHORE(deploy): scale deployment to 2 replicas
- Increase replica count for HA
- Improve service reliability
2025-12-03 13:17:06 +09:00
88bb85d18f FEAT(docker): add ARM64 build support
- Add ARM64 support
- For Oracle Cloud deployment
2025-12-03 02:15:16 +09:00
7a21e7a50b CHORE(app): increase ResourceQuota
- Increase quota for cert-manager solver
- Enable TLS certificate provisioning
2025-11-29 11:08:57 +09:00
23ca477aea FIX(docker): fix docker/metadata-action prefix
- Match prefix with extraction logic
- Fix image tag generation
2025-11-24 21:35:02 +09:00
12f5d80a2d REFACTOR(docker): use full SHA tag
- Use full SHA for image tags
- Match docker/metadata-action format
2025-11-24 21:18:44 +09:00
efdab39933 FIX(ci): fix SHA tag extraction
- Handle both full and short SHA formats
- Improve tag parsing logic
2025-11-24 21:10:42 +09:00
0740504a0a FIX(app): fix SHA tag format
- Correct SHA tag generation
- Fix image tagging
2025-11-24 20:48:10 +09:00
960ba842ed REFACTOR(app): change image write-back
- Switch to ArgoCD write-back method
- Update image update strategy
2025-11-24 17:14:23 +09:00
493ab973bb FEAT(deploy): enable ArgoCD Image Updater
- Enable automatic image updates
- Configure ArgoCD Image Updater
2025-11-24 17:13:28 +09:00
b7c70879ee CHORE(app): increase memory limits
- Increase memory limits
- Better utilize resourcequota
2025-11-24 15:28:26 +09:00
a2e4cf6ce2 FEAT(app): add resourcequota
- Add resourcequota
- Prevent memory overflow
2025-11-24 15:26:41 +09:00
599a1277c4 CHORE(app): reduce memory to 100Mi
- Memory limit: 200Mi -> 100Mi
- Memory request: 100Mi -> 50Mi
- Current usage is only ~42Mi, so 100Mi limit is sufficient
2025-11-24 14:09:27 +09:00