diff --git a/tradhoxdomain/tradhoxdomain_stack.py b/tradhoxdomain/tradhoxdomain_stack.py index 70d47b4..62d0b00 100644 --- a/tradhoxdomain/tradhoxdomain_stack.py +++ b/tradhoxdomain/tradhoxdomain_stack.py @@ -46,7 +46,6 @@ class TradhoxdomainStack(Stack): "beta-mailservices", "betawhatsapp", "betapayments", - "pipeline" ] # Target IP address provided by the user @@ -61,6 +60,15 @@ class TradhoxdomainStack(Stack): target=route53.RecordTarget.from_ip_addresses(target_ip) ) + # CI/CD pipeline server (Forgejo on cisystem) + ci_system_ip = "16.113.106.152" + route53.ARecord( + self, "PipelineRecord", + zone=hosted_zone, + record_name="pipeline", + target=route53.RecordTarget.from_ip_addresses(ci_system_ip) + ) + # Route 'partners' frontend to PartnerProductionSiteBucket CloudFront distribution if partner_distribution: route53.ARecord(