From 5700950b060c7c4a103c0de7b9c633e0212a574e Mon Sep 17 00:00:00 2001
From: Dan
Date: Thu, 11 Dec 2025 08:07:37 -0600
Subject: [PATCH 1/2] feat(circleci): add plan-us-west-2-prod job
---
.circleci/config.yml | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 93fa11b9..046f8398 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -93,3 +93,28 @@ workflows:
requires:
- testing-complete
# END ANSIBLE MANAGED BLOCK
+
+ plan-us-west-2-prod:
+ jobs:
+ # - tfplan/terraform-plan:
+ # context:
+ # - org-global
+ # - us-west-2-prod
+ # app: rdoc-app
+ # env: us-west-2-prod
+ # region: us-west-2
+ # aws-access-key-id: ${US_WEST_2_PROD_AWS_ACCESS_KEY_ID}
+ # aws-secret-access-key: ${US_WEST_2_PROD_AWS_SECRET_ACCESS_KEY}
+ # kong-admin-uri: ${US_WEST_2_PROD_KONG_ADMIN_URI}
+ # kong-api-key: ${US_WEST_2_PROD_KONG_API_KEY}
+ - kong/deck-operations:
+ name: deck-operations-us-west-2-prod
+ kong_addr: ${US_WEST_2_PROD_KONG_ADMIN_URI}
+ app: rdoc-app
+ kong_tags: rdoc-app
+ context:
+ - org-global
+ - kong-us-west-2-prod
+ filters:
+ branches:
+ ignore: master
From 1993c62f340b9ca6575f1a12b1d4186020078f04 Mon Sep 17 00:00:00 2001
From: Dan
Date: Thu, 11 Dec 2025 08:12:30 -0600
Subject: [PATCH 2/2] feat(deploys): add deploy.yml and pipeline.yml
---
deploy.yml | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++
pipeline.yml | 18 ++++++++++++++
2 files changed, 84 insertions(+)
create mode 100644 deploy.yml
create mode 100644 pipeline.yml
diff --git a/deploy.yml b/deploy.yml
new file mode 100644
index 00000000..54f51235
--- /dev/null
+++ b/deploy.yml
@@ -0,0 +1,66 @@
+---
+prod:
+ cluster_name: app-cluster
+ app_account: true
+ kong_deck:
+ tags: rdoc-app
+ k8s:
+ deployment:
+ replicas: 2
+ resources:
+ limits:
+ cpu: 1000m
+ memory: 1Gi
+ requests:
+ cpu: 500m
+ memory: 512Mi
+ hpa:
+ enabled: true
+ minReplicas: 2
+ maxReplicas: 10
+ targetCPUUtilizationPercentage: 70
+
+us-west-2-prod:
+ cluster_name: app-cluster
+ app_account: true
+ kong_deck:
+ tags: rdoc-app
+ k8s:
+ deployment:
+ replicas: 0
+ resources:
+ limits:
+ cpu: 1000m
+ memory: 1Gi
+ requests:
+ cpu: 500m
+ memory: 512Mi
+ hpa:
+ enabled: true
+ minReplicas: 2
+ maxReplicas: 10
+ targetCPUUtilizationPercentage: 70
+
+staging:
+ cluster_name: app-cluster
+ app_account: true
+ kong_deck:
+ tags: rdoc-app
+ k8s:
+ deployment:
+ replicas: 1
+ resources:
+ limits:
+ cpu: 500m
+ memory: 512Mi
+ requests:
+ cpu: 250m
+ memory: 256Mi
+ hpa:
+ enabled: false
+ deployment_tests:
+ enabled: true
+ acceptance_tests:
+ enabled: true
+ integration_tests:
+ enabled: true
diff --git a/pipeline.yml b/pipeline.yml
new file mode 100644
index 00000000..567fa291
--- /dev/null
+++ b/pipeline.yml
@@ -0,0 +1,18 @@
+---
+pipelines:
+ - name: staging
+ environments:
+ - name: staging
+ auto_deploy: false
+
+ - name: prod
+ environments:
+ - name: prod
+ after: staging
+ auto_deploy: false
+
+ - name: us-west-2-prod
+ environments:
+ - name: us-west-2-prod
+ after: prod
+ auto_deploy: false