Commit Graph

15 Commits

Author SHA1 Message Date
d.viti
fb396ac71a Fix Helm chart build workflow issues
- Removed unnecessary helm dependency update (no dependencies defined)
- Modified packaging to use a temporary copy of the chart
- This prevents sed modifications from affecting the lint step
- Ensures Chart.yaml version field remains intact
- Added debug output for chart version verification
2025-10-03 02:27:26 +02:00
d.viti
99fd37bfd8 Use gitea.repository variable for dynamic image repository paths
Some checks failed
Helm Chart Release / release-helm (push) Failing after 9s
Build and Deploy / build-web (push) Successful in 35s
Build and Deploy / build-api (push) Successful in 34s
Build and Deploy / build-helm (push) Failing after 7s
- Updated values.yaml to use gitea.repository placeholder
- Modified build.yml workflow to replace repository path dynamically
- Modified helm-release.yml workflow to replace repository path
- This allows the Helm chart to work with any Gitea repository structure
- Image paths are now built as: registry/gitea.repository/component
2025-10-03 02:23:32 +02:00
d.viti
cf2b786738 Update Helm values with correct API7 cluster configuration
- Updated API7 gateway admin URL to use actual DP Manager service
- Changed hosts to api7-demo.commandware.it (matching wildcard ingress)
- Updated cert-manager issuer to cloudflare-acme-prod (existing in cluster)
- Added gatewayService reference to actual gateway service name
- Configured development values with API7 disabled for local testing
- Enhanced production values with proper domains and security settings
- Added support for multiple production domains
- Configured proper rate limits and auth for production
2025-10-03 02:21:33 +02:00
d.viti
e9528217f8 Refactor Helm workflows to trigger on main branch and streamline versioning process
Some checks failed
Helm Chart Release / release-helm (push) Failing after 29s
Build and Deploy / build-web (push) Successful in 38s
Build and Deploy / build-api (push) Successful in 48s
Build and Deploy / build-helm (push) Failing after 7s
2025-10-03 02:09:06 +02:00
d.viti
733826890e Fix Gitea workflow to use Gitea-specific variables and APIs
- Replaced GitHub-specific variables with Gitea equivalents
- Changed GITHUB_REF to GITEA_REF_NAME for tag extraction
- Replaced github.sha with gitea.sha for commit reference
- Removed GitHub release action, using Gitea API directly
- Fixed environment variable references to use proper syntax
- Removed GITHUB_STEP_SUMMARY as it's GitHub-specific
- Updated all VERSION references to use environment variable
2025-10-03 02:06:54 +02:00
d.viti
fd832e9b42 Add API7 ADC integration to Helm chart for automatic gateway configuration
- Added ADC (API7 Declarative CLI) post-install job for automatic gateway setup
- Created ConfigMap with complete API7 routing and service configuration
- Integrated cert-manager for automatic TLS certificate management
- Added support for Kubernetes service discovery
- Implemented auto-publish feature for routes after deployment
- Added comprehensive API7 plugin configurations (rate limiting, CORS, auth)
- Created RBAC resources for ADC job to access cluster resources
- Secured admin credentials using Kubernetes secrets
- Updated values.yaml with extensive API7 configuration options
- Enhanced documentation with API7 setup and troubleshooting guides
2025-10-03 02:04:35 +02:00
d.viti
d818ee6600 Add Helm chart build and publishing to Gitea workflows
- Added Helm chart build job to main CI/CD workflow
- Created dedicated helm-release workflow for version tags
- Integrated Helm packaging with Gitea package registry
- Added automatic chart versioning and publishing
- Updated README with Helm deployment instructions
- Configured chart linting and validation steps
- Added release automation for tagged versions
2025-10-03 01:56:36 +02:00
d.viti
ceee0dcff8 Fix domain references in Helm chart
- Updated Helm repository URL to use git.commandware.com
- Fixed production values to use git.commandware.com as image registry
- Corrected domain references to match actual infrastructure
2025-10-03 01:54:09 +02:00
d.viti
ef93f4a35f Add Helm chart for deploying web and API components
All checks were successful
Build and Deploy / build-web (push) Successful in 36s
Build and Deploy / build-api (push) Successful in 38s
- Created complete Helm chart with deployments, services, and ingress
- Added support for both web frontend and API backend components
- Included autoscaling (HPA) for both components
- Added pod disruption budgets for high availability
- Configured security contexts and best practices
- Created helper templates and configuration management
- Added production and development value files
- Included comprehensive README with installation instructions
2025-10-03 01:51:17 +02:00
d.viti
073d652869 Fix mkdocs build error by moving mkdocs.yml to web root
All checks were successful
Build and Deploy / build-api (push) Successful in 36s
Build and Deploy / build-web (push) Successful in 1m19s
- Moved mkdocs.yml from web/docs/ to web/ directory
- Updated Dockerfile to copy mkdocs.yml and build from correct location
- Set docs_dir to 'docs' in mkdocs.yml configuration
- Fixes Docker build error where mkdocs couldn't find documentation files
2025-10-03 01:44:41 +02:00
d.viti
12ea09a520 fix: update registry references to use PACKAGES_REGISTRY in build workflow
Some checks failed
Build and Deploy / build-api (push) Successful in 58s
Build and Deploy / build-web (push) Failing after 1m3s
2025-10-03 01:36:09 +02:00
d.viti
99447b874b refactor: update build workflow to use dynamic registry and improve login steps
Some checks failed
Build and Deploy / build-web (push) Failing after 23s
Build and Deploy / build-api (push) Failing after 22s
2025-10-03 01:32:12 +02:00
d.viti
62135bbd12 update Gitea login action to use PACKAGES_PUSH_TOKEN
Some checks failed
Build and Push Docker Images / build-web (push) Failing after 18s
Build and Push Docker Images / build-api (push) Failing after 21s
2025-10-03 01:26:50 +02:00
d.viti
ee5e7c698e fixed gitea toklen name 2025-10-03 01:22:48 +02:00
d.viti
a2eef9efde first commit
Some checks failed
Build and Push Docker Images / build-web (push) Failing after 1m3s
Build and Push Docker Images / build-api (push) Failing after 1m1s
2025-10-03 01:20:15 +02:00