4 Commits

Author SHA1 Message Date
Alexis Bruneteau
4774805840 ci(workflows): change kubeconfig from base64 to plain text
Some checks failed
Build and Deploy to k3s (Production) / build-and-deploy (push) Failing after 3m15s
Remove base64 decoding from kubeconfig setup step.
Now accepts KUBE_CONFIG secret as plain text directly instead of base64 encoded.

This simplifies secret configuration in Gitea UI - users can paste kubeconfig
content directly without requiring base64 encoding.

Changes:
- deploy-prod.yml: Remove 'base64 -d' from kubeconfig setup
- deploy-alpha.yml: Remove 'base64 -d' from kubeconfig setup

Secret Configuration:
  Old: KUBE_CONFIG should be base64 encoded
  New: KUBE_CONFIG should be plain text kubeconfig content

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 01:10:07 +02:00
Alexis Bruneteau
53905cb9e2 ci(workflows): update Gitea CI/CD pipelines for Next.js 15 deployment
Update both production and alpha deployment workflows:

Changes:
- Updated Node.js version from 22 to 20 (match project dependencies)
- Changed build command from Angular 'npm run build --prod' to Next.js 'npm run build'
- Added environment variables for API URLs (PROD_API_URL, ALPHA_API_URL)
- Added NODE_ENV=production build argument for Docker
- Improved Docker image tagging strategy (separate prod/alpha namespaces)
- Enhanced kubeconfig validation with better error handling
- Added deployment status messaging for better workflow visibility
- Removed hardcoded config checking that exposed secrets
- Added rollout status timeout (5m) for safer deployments
- Improved step descriptions for clarity

Benefits:
- Workflow now properly builds Next.js standalone output
- Better separation of prod and alpha deployments
- Improved error reporting and troubleshooting
- Safer kubeconfig handling (no secrets exposure)
- More reliable deployment with timeout checks

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 00:59:18 +02:00
Alexis Bruneteau
cd89d07f70 changed docker image tag
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 40s
2025-06-02 10:13:46 +02:00
Alexis Bruneteau
a55a295164 pre-alpha test
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 39s
2025-06-01 14:04:20 +02:00