fix(dns): point pipeline.tradhox.com to cisystem IP (16.113.106.152)
This commit is contained in:
parent
cfb5cd5fd9
commit
3bc5fe25d0
1 changed files with 9 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue