How cloudgeometry/cg-devx-core works
Project Type and Purpose
• CG DevX is an application‐delivery and infrastructure‐as‐code platform. It combines:
• A CLI tool (Python) for developers to scaffold, provision, and manage cloud resources and GitOps pipelines.
• A set of Terraform modules to stand up cloud infrastructure (EKS/AKS/GKE, VPC, IAM, storage, Vault, Harbor, SonarQube, etc.).
• A “platform” directory containing GitOps templates and manifests (ArgoCD, Atlantis, monitoring, trace, security, autoscaling, developer portals).
• The goal is to automate cluster provisioning, platform bootstrapping, and workload delivery via GitOps.
File‐Structure Highlights
• Top‐level:
• .github – CI/CD workflows for releases.
• platform – templating for GitOps pipelines, multi‐cluster delivery manifests.
• platform/terraform – IaC modules grouped by cloud provider, secrets, users, VCS integration.
• tools/cli – the Python CLI with subcommands (setup, destroy, workload create/delete) and service layers (cloud, DNS, k8s, VCS, tf).
• Architectural patterns:
• CLI uses a service‐layer pattern to interact with cloud providers, DNS, Kubernetes, VCS, and Terraform.
• GitOps pattern: a central Git repository drives cluster state via ArgoCD; Atlantis handles Terraform pull requests.
• Modular Terraform modules for reuse across clouds (AWS/Azure/GCP).