Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,17 @@ jobs:
name: "Build"
command: build mainnet-fork | add_timestamps

deploy-mainnet-fork:
machine:
image: ubuntu-2204:2023.07.2
resource_class: medium
steps:
- *checkout
- *setup_env
- run:
name: "Deploy mainnet fork"
command: deploy_ecr mainnet-fork

aztec-faucet:
machine:
image: ubuntu-2204:2023.07.2
Expand Down Expand Up @@ -1235,6 +1246,10 @@ workflows:
- noir-contracts-build: *defaults

- mainnet-fork: *defaults
- deploy-mainnet-fork:
requires:
- mainnet-fork
<<: *deploy_defaults

# Yarn Project
- yarn-project-base:
Expand Down
4 changes: 2 additions & 2 deletions iac/mainnet-fork/terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ resource "aws_ecs_service" "aztec_mainnet_fork" {
}

load_balancer {
target_group_arn = aws_alb_target_group.aztec_mainnet_fork.arn
target_group_arn = aws_alb_target_group.mainnet_fork.arn
container_name = "aztec-network-mainnet-fork"
container_port = 80
}
Expand All @@ -253,7 +253,7 @@ resource "aws_lb_listener_rule" "aztec_mainnet_fork_route" {

action {
type = "forward"
target_group_arn = aws_alb_target_group.aztec_mainnet_fork.arn
target_group_arn = aws_alb_target_group.mainnet_fork.arn
}

condition {
Expand Down