22 Commits
Author SHA1 Message Date
nutcas3 cc2590bb17 fix: Reorder working-directory and env blocks in database migration step for consistency
- Move working-directory after env block in Run database migrations step
- Maintain same functionality while following standard YAML ordering convention
2026-04-29 03:31:21 +03:00
nutcas3 28422fafc1 fix: Standardize migrations directory path and add explicit working-directory in CI workflow
- Change migrations path from './migrations' to 'migrations' in all test jobs
- Add explicit working-directory: . to migration steps for clarity
- Apply changes to api-server-test, charging-engine-test, and packet-gateway-test jobs
2026-04-29 03:18:11 +03:00
nutcas3 96eacf8e77 fix: Add goose to PATH and correct migrations directory path in CI workflow
- Add explicit PATH configuration step to ensure goose binary is accessible after installation
- Fix migrations directory path from 'migrations' to './migrations' in all test jobs
- Apply changes to api-server-test, charging-engine-test, and packet-gateway-test jobs
2026-04-29 03:11:46 +03:00
nutcas3 85012f380f feat: Add PostgreSQL service and database migrations to Rust component test jobs in CI workflow
- Upgrade PostgreSQL service from version 15 to 18 in api-server-test job
- Add PostgreSQL 18 service configuration to charging-engine-test and packet-gateway-test jobs
- Configure database health checks with pg_isready command for all Postgres services
- Add goose installation step to charging-engine-test and packet-gateway-test jobs
- Add database migration execution step before running tests in Rust components
2026-04-29 02:58:48 +03:00
nutcas3 87dd487d48 refactor: Replace custom migration runner with goose CLI tool in CI and deployment workflows
- Install goose CLI tool using go install in CI and deploy workflows
- Replace custom migration command (go run cmd/migrate/main.go --action=up) with goose postgres command
- Remove working-directory specification from CI migration step
- Update commented kubectl exec commands in deploy workflow to use goose instead of custom runner
- Simplify migration execution by using standardized goose tool across all environments
2026-04-29 02:54:08 +03:00
nutcas3 6fd5d89671 feat: Add database migration steps to CI and deployment workflows
- Add migration execution step in CI workflow before linter runs
- Configure DATABASE_URL environment variable for test database connection
- Add placeholder migration steps in deploy workflow for staging and production environments
- Include commented kubectl exec commands for future implementation in Kubernetes deployments
2026-04-29 02:52:51 +03:00
nutcas3 095eb0bdf3 refactor: Update Docker build contexts to use root directory with explicit Dockerfile paths in deploy workflow
- Change all docker/build-push-action contexts from ./apps/<component> to root directory (.)
- Add explicit file parameter pointing to ./deployments/docker/<component>.Dockerfile for all components
- Update build configurations for api-server, carrier-connector, charging-engine, packet-gateway, CLI, and web-dashboard
2026-04-29 02:45:07 +03:00
nutcas3 821a3bfb17 refactor: Update Docker build contexts to use root directory with explicit Dockerfile paths in CI workflow
- Change all docker/build-push-action contexts from ./apps/<component> to root directory (.)
- Add explicit file parameter pointing to ./deployments/docker/<component>.Dockerfile for all components
- Update build configurations for api-server, carrier-connector, charging-engine, packet-gateway, CLI, and web-dashboard
2026-04-29 02:44:51 +03:00
nutcas3 3b2edc5ccf ci: Fix Go build paths for carrier-connector and CLI components
- Change carrier-connector build path from ./cmd/ to .
- Change CLI build path from ./cmd/ to .
2026-04-26 01:24:06 +03:00
nutcas3 133523d83b ci: Add Docker build and push steps for carrier-connector, charging-engine, packet-gateway, and CLI components
- Add carrier-connector-meta and carrier-connector build/push steps with ghcr.io image tagging
- Add charging-engine-meta and charging-engine build/push steps with ghcr.io image tagging
- Add packet-gateway-meta and packet-gateway build/push steps with ghcr.io image tagging
- Add cli-meta and CLI build/push steps with ghcr.io image tagging
- Add carrier-image, charging-image, gateway-image,
2026-04-26 00:26:19 +03:00
nutcas3 261d55d831 ci: Add CI workflows for carrier-connector, charging-engine, packet-gateway, and CLI components
- Add carrier-connector-test job with Go 1.23 setup, linting, testing with race detector, and build step
- Add charging-engine-test job with Rust 1.94 setup, cargo caching, release mode testing, and build step
- Add packet-gateway-test job with Rust 1.94 setup, cargo caching, release mode testing, and build step
- Add cli-test job with Go 1.23 setup, linting, testing with race detector, and build step
2026-04-26 00:26:01 +03:00
nutcas3 b734ea7d3a refactor: Add environment variable support to API server configuration and fix build path
- Add getEnv and getEnvInt helper functions for reading environment variables with defaults
- Update all configuration fields to use environment variables (DB_HOST, REDIS_HOST, API_PORT, etc.)
- Change CI build command from ./cmd/server.go to ./cmd/ directory path
2026-04-26 00:15:45 +03:00
nutcas3 0e382a81c9 refactor: Update API server CI test scope and fix rate limit test comment
- Change test command to run only internal/services/ tests with race detector enabled
- Update RateLimit_ErrorHandling test to use high limit instead of invalid value
- Update test comments to reflect new approach of using very high limit to simulate no rate limiting
2026-04-25 22:53:25 +03:00
nutcas3 7323dffb1e refactor: Remove race detector flag from API server CI test step
- Remove -race flag from go test command in Run tests step
2026-04-25 22:08:16 +03:00
nutcas3 a706081866 refactor: Update web-dashboard CI workflow to use Node.js 24
- Update Node.js version from 22 to 24 in Setup Node.js step
2026-04-25 07:03:28 +03:00
nutcas3 28552393bc refactor: Update web-dashboard CI workflow to use Node.js 22 and disable frozen lockfile
- Update Node.js version from 20 to 22 in Setup Node.js step
- Change pnpm install flag from --frozen-lockfile to --no-frozen-lockfile in Install dependencies step
2026-04-25 06:58:24 +03:00
nutcas3 442e051e8d feat: Remove explicit pnpm version from CI workflow to use version from package.json 2026-04-25 06:32:51 +03:00
nutcas3 8076d9b79a feat: Migrate web-dashboard CI workflow from npm to pnpm
- Replace npm cache with pnpm setup and store caching in CI workflow
- Add pnpm/action-setup@v4 with version 9
- Configure pnpm store path caching with pnpm-lock.yaml hash key
- Update install command to use pnpm install --frozen-lockfile instead of npm ci
- Update lint and build commands to use pnpm run instead of npm run
2026-04-25 01:19:02 +03:00
nutcas3 073e10891a feat: Add staging environment configuration with protection rules, approvals, and environment variables
- Add staging.yml with environment name/URL and protection rules configuration
- Add required_reviewers (staging-team-lead/devops-engineer) and prevent_force_pushes setting
- Add required_status_checks with strict mode for build-and-push/test-suite contexts
- Add environment_variables for API_BASE_URL/DATABASE_URL/REDIS_URL/LOG_LEVEL/ENVIRONMENT
- Add secrets references for STAGING_DB_PASSWORD/
2026-04-21 11:05:55 +03:00
nutcas3 cddfd41654 feat: Add production environment configuration with protection rules, approvals, and deployment restrictions
- Add production.yml with environment name/URL and protection rules configuration
- Add required_reviewers (cto/head-of-operations/security-lead) and prevent_force_pushes setting
- Add required_status_checks with strict mode for build-and-push/test-suite/security-scan/performance-tests contexts
- Add deployment_restrictions limiting deployments to specific users (cto/head-of-operations/devops-lead) and platform
2026-04-21 11:05:44 +03:00
nutcas3 bf0447b905 feat: Add GitHub Actions deployment workflow with staging/production environments and container registry integration
- Add deploy workflow triggered on push to main, version tags, and manual workflow_dispatch with environment selection
- Add build-and-push job with GHCR login, Docker metadata extraction for API server/web dashboard, image builds with branch/tag/sha tagging, and image outputs
- Add deploy-staging job (main branch or manual staging selection) with kubectl setup and placeholder deployment commands
2026-04-20 20:11:13 +03:00
nutcas3 98b954196b feat: Add GitHub Actions CI workflow with testing, building, and security scanning
- Add CI workflow triggered on push/PR to main/develop branches
- Add api-server-test job with PostgreSQL service, Go 1.23 setup, golangci-lint, race detection tests with coverage, and binary build
- Add web-dashboard-test job with Node.js 20 setup, npm ci, linting, TypeScript type checking, and build
- Add docker-build job (main branch only) with Buildx setup, API server/web dashboard image builds, and GitHub Actions
2026-04-20 20:08:44 +03:00