Skip to content

Commit

Permalink
chore(ci): remove devnet deployments (for now) (#5912)
Browse files Browse the repository at this point in the history
  • Loading branch information
spypsy authored Apr 22, 2024
1 parent b194f83 commit d9c1ee9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 85 deletions.
73 changes: 0 additions & 73 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -443,30 +443,6 @@ jobs:
command: build aztec
aztec_manifest_key: aztec

mainnet-fork:
machine:
image: default
resource_class: large
steps:
- *checkout
- *setup_env
- run:
name: "Build"
command: build mainnet-fork | add_timestamps
aztec_manifest_key: mainnet-fork

aztec-faucet:
machine:
image: default
resource_class: large
steps:
- *checkout
- *setup_env
- run:
name: "Build and test"
command: build aztec-faucet | add_timestamps
aztec_manifest_key: aztec-faucet

boxes:
docker:
- image: aztecprotocol/alpine-build-image
Expand Down Expand Up @@ -609,14 +585,6 @@ jobs:
should_release || exit 0
deploy_dockerhub noir
deploy_dockerhub aztec
deploy_dockerhub aztec-faucet
deploy_dockerhub mainnet-fork
- run:
name: "Deploy mainnet fork"
command: |
should_deploy || exit 0
deploy_terraform_services iac/mainnet-fork mainnet-fork mainnet-fork aws_efs_file_system.aztec_mainnet_fork_data_store
./iac/mainnet-fork/scripts/wait_for_fork
- run:
name: "Release canary to NPM: bb.js"
command: |
Expand Down Expand Up @@ -647,43 +615,6 @@ jobs:
command: |
should_release || exit 0
deploy_npm l1-contracts latest
- run:
name: "Deploy L1 contracts to mainnet fork"
working_directory: l1-contracts
command: |
should_deploy || exit 0
./scripts/ci_deploy_contracts.sh
- run:
name: "Deploy P2P bootstrap servers to AWS"
command: |
should_deploy 0 || exit 0
# Export variables for Terraform.
export TF_VAR_BOOTNODE_1_PRIVATE_KEY=$BOOTNODE_1_PRIVATE_KEY
export TF_VAR_BOOTNODE_2_PRIVATE_KEY=$BOOTNODE_2_PRIVATE_KEY
deploy_terraform_services yarn-project/p2p-bootstrap aztec
- run:
name: "Deploy Aztec Nodes to AWS"
command: |
should_deploy 0 || exit 0
export TF_VAR_BOOTNODE_1_PEER_ID=$BOOTNODE_1_PEER_ID
export TF_VAR_BOOTNODE_2_PEER_ID=$BOOTNODE_2_PEER_ID
export TF_VAR_SEQ_1_PUBLISHER_PRIVATE_KEY=$SEQ_1_PUBLISHER_PRIVATE_KEY
export TF_VAR_SEQ_2_PUBLISHER_PRIVATE_KEY=$SEQ_2_PUBLISHER_PRIVATE_KEY
export TF_VAR_NODE_1_PRIVATE_KEY=$NODE_1_PRIVATE_KEY
export TF_VAR_NODE_2_PRIVATE_KEY=$NODE_2_PRIVATE_KEY
# Check if l1-contracts have changed
if [ "$CONTRACTS_DEPLOYED" -eq 1 ]; then
echo "Contracts have changed, taint nodes to force redeploy.."
deploy_terraform_services yarn-project/aztec-node aztec aztec-node "aws_ecs_task_definition.aztec-node[0],aws_ecs_task_definition.aztec-node[1]" 1
else
deploy_terraform_services yarn-project/aztec-node aztec
fi
- run:
name: "Deploy Aztec Faucet to AWS"
command: |
should_deploy 0 || exit 0
export TF_VAR_FAUCET_PRIVATE_KEY=$FAUCET_PRIVATE_KEY
deploy_terraform_services yarn-project/aztec-faucet aztec
# Repeatable config for defining the workflow below.
defaults: &defaults
Expand Down Expand Up @@ -807,8 +738,6 @@ workflows:

- l1-contracts: *defaults

- mainnet-fork: *defaults

- noir-projects:
requires:
- avm-transpiler
Expand All @@ -824,7 +753,6 @@ workflows:
- noir-projects
<<: *defaults
- end-to-end: *defaults_yarn_project
- aztec-faucet: *defaults_yarn_project_pre_join
- build-docs: *defaults_yarn_project_pre_join
- prover-client-test: *defaults_yarn_project
- yarn-project-test: *defaults_yarn_project
Expand Down Expand Up @@ -873,7 +801,6 @@ workflows:
- barretenberg-acir-tests-bb-sol
- barretenberg-docs
- build-docs
- mainnet-fork
- boxes-vanilla
- boxes-react
- noir-packages-tests
Expand Down
12 changes: 0 additions & 12 deletions build_manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,6 @@ aztec:
- yarn-project
multiarch: buildx

# Aztec faucet server. Has these dependencies because it's part of workspace. Consider moving out?
aztec-faucet:
buildDir: yarn-project
projectDir: yarn-project/aztec-faucet
dependencies:
- bb.js
- noir-packages

# Builds all the boxes. They are then independently tested in the container.
boxes:
buildDir: boxes
Expand All @@ -234,10 +226,6 @@ end-to-end:
runDependencies:
- aztec

mainnet-fork:
buildDir: iac/mainnet-fork
projectDir: iac/mainnet-fork

docs:
buildDir: .
dockerfile: docs/Dockerfile
Expand Down

0 comments on commit d9c1ee9

Please sign in to comment.