Skip to content

Commit

Permalink
start cutover of proxy infra -> dev/prod
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladinlight committed May 9, 2024
1 parent b828058 commit 5583a14
Showing 1 changed file with 36 additions and 4 deletions.
40 changes: 36 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -688,8 +688,7 @@ aliases:

- &proxy
assetName: proxy
environment: infra
pulumi-stack: public-infra-us-east-2
pulumi-stack: public-us-east-2
pulumi-dir: proxy/pulumi
api-autoscaling: true
api-replicas: 2
Expand All @@ -700,6 +699,15 @@ aliases:
api-memory-limit: 1Gi
api-memory-request: 500Mi

- &proxy-dev
<<: *proxy
assetName: proxy
environment: dev
pulumi-stack: public-dev-us-east-2
api-replicas: 1
api-max-replicas: 2
api-memory-limit: 500Mi

commands:
precheck:
description: install dependencies
Expand Down Expand Up @@ -1235,12 +1243,12 @@ workflows:
<<: [*thorchain-dev, *only-develop]

- deploy-coinstack-node:
name: deploy proxy
name: deploy proxy develop
organization: TAXISTAKE
pulumi-command: up -f --yes
requires:
- deploy dependencies
<<: [*proxy, *only-develop]
<<: [*proxy-dev, *only-develop]

- deploy-monitoring-pulumi:
name: deploy monitoring pulumi
Expand Down Expand Up @@ -1582,6 +1590,30 @@ workflows:
- approve thorchain
<<: [*thorchain, *only-main]

####### PROXY
- deploy-coinstack-node:
name: preview proxy
organization: TAXISTAKE
pulumi-command: preview
requires:
- validate dependencies
<<: [*proxy, *only-main]

- approve-coinstack:
name: approve proxy
type: approval
requires:
- preview proxy
<<: *only-main

- deploy-coinstack-node:
name: deploy proxy
organization: TAXISTAKE
pulumi-command: up -f --yes
requires:
- approve proxy
<<: [*proxy, *only-main]

deploy-fallback:
jobs:
- lint-and-test-persist:
Expand Down

0 comments on commit 5583a14

Please sign in to comment.