-
Notifications
You must be signed in to change notification settings - Fork 606
feat: devnet updates #7421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
feat: devnet updates #7421
Changes from all commits
Commits
Show all changes
90 commits
Select commit
Hold shift + click to select a range
acc1c8f
chore: 1st attempt at automatic devnet deployment
spypsy d3b6a29
fix FULL_IMAGE var
spypsy e214015
fix missing vars
spypsy 1a45de7
rm contract address vars
spypsy 368cb6e
fix deploy p2p
spypsy d38fe6e
fix ecs name
spypsy 26fd7e6
hardcode fork url
spypsy 80253eb
force new deployments
spypsy 16fe39b
hardcode aztec-dev in tf file
spypsy 4ed2e5b
separate node - prover terraforms
spypsy cdfd127
add data resources
spypsy 7e20a58
add provider block
spypsy b88a3ea
merge with master
spypsy a5d45bf
Merge branch 'master' into devnet
spypsy c19aae1
undo formatting
spypsy 38bc061
undo formatting again
spypsy a04678a
cancel-in-progress
spypsy cf32b29
fix ecs task def name
spypsy 2aa4eb0
fix aws_ecs_service name ref
spypsy b400d3b
fix container names
spypsy bf8c939
PR fixes
spypsy 543f660
remove ref from main.tf
spypsy 898388c
use deploy_tag again for fork url
spypsy ce09a75
feat: deploy L1 contracts on GA (#7262)
spypsy e1a9b5d
chore: redeploy L1 contracts (#7263)
spypsy 2bd87c1
fix: fetch-depth 0 (#7264)
spypsy 7afe0d6
chore: redeploy devnet (#7265)
spypsy 987ba1a
chore: redeploy & log (#7266)
spypsy 1227447
fix: use result key (#7267)
spypsy 49170e4
fix: setup-action (#7268)
spypsy 8c3fcc6
fix: action ordering (#7270)
spypsy e3c45ec
fix: publish cli image to dockerhub (#7274)
spypsy dbde910
fix: checkout depth on setup (#7275)
spypsy 0f7e6ec
fix: typo (#7276)
spypsy d574047
fix: input script's file_path (#7278)
spypsy 9c512c0
chore: redeploy l1 contracts (#7295)
spypsy b46079a
fix: docker run cmd (#7296)
spypsy ea3102c
fix: taint EFS on l1 redeploy (#7300)
spypsy dbdb71e
fix: master conflicts (#7303)
spypsy 56c52f9
fix: init terraform in all cases (#7304)
spypsy b26dd72
merge with master
spypsy 3f37de6
fix merge
spypsy 7afe45f
undo noir changes
spypsy 5e33a6b
fix ETHEREUM_HOST in terraform
spypsy 6451d7c
chore: deploy mainnet-fork, update devnet chainID
spypsy 4685126
redeploy l1
spypsy f6bf309
use aztecprotocol account
spypsy f2c24f2
fix fork working-directory
spypsy dc33049
try jsonencode
spypsy 55b3da3
fix node_data_store count reference
spypsy 8ded39b
remove count from mount targets
spypsy c204257
redeploy l1 contracts
spypsy 62a6b36
merge with master
spypsy 65b504f
pass aws secrets
spypsy 51aecb6
remove unnecessary ref
spypsy 307cc83
Redeploy L1
spypsy 7d986e6
remove duplicate tasks
spypsy bcec415
keep artifacts folder
spypsy 3946297
fix typo
spypsy ea01532
Redeploy L1 again
spypsy a888e25
fix mnemonic issue
spypsy 8b81f08
debug mnemonic issue
spypsy e21f530
redeploy fork, contracts
spypsy b17c018
fix deploy-l1-contracts cmd
spypsy 7e9cad3
fix build
spypsy f275b02
fix fn call
spypsy b25a0f5
fix chainId type
spypsy bf8742f
remove old apiKey ref
spypsy 56e02ff
fix test issue
spypsy f31926b
redeploy
spypsy dfc82cd
pass chainId in cli command
spypsy ee12c95
only use chainId chainInfo
spypsy 267c767
redeploy
spypsy a8fe490
convert chainId to number in cli
spypsy 3428f96
taint fork efs
spypsy 7c84351
use replace instead of taint
spypsy 26268f8
wait for fork deployment
spypsy f284e8d
unique ecs volume root_directory
spypsy cb1ffbb
bool vars in quotes
spypsy bff5b13
use tostring
spypsy a336b56
fix common EFS volume
spypsy d0c19bc
redeploy
spypsy b1f496f
use descriptive option names
spypsy c715472
Merge branch 'master' into devnet
spypsy ad33b3a
PR Fixes
spypsy 4804493
merge with master
spypsy 55c88fb
Remove old index.ts
spypsy 5fe445b
clarify L1 chain ID
spypsy 13e2f22
Merge branch 'master' into devnet
spypsy a76cb2d
don't pass secrets
spypsy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| #!/bin/bash | ||
| set -e | ||
|
|
||
| DEPLOY_TAG=$1 | ||
| TEST_FORK_API_KEY=$2 | ||
|
|
||
| # When destroying and applying mainnet fork terraform, it may not be | ||
| # ready for a while, as it must register with DNS etc. | ||
| # This script waits on a healthy status from the fork - a valid response to the chainid request | ||
| # We retry every 20 seconds, and wait for a total of 5 minutes (15 times) | ||
| export ETHEREUM_HOST="https://$DEPLOY_TAG-mainnet-fork.aztec.network:8545/$TEST_FORK_API_KEY" | ||
|
|
||
| curl -H "Content-Type: application/json" -X POST --data '{"method":"eth_chainId","params":[],"id":49,"jsonrpc":"2.0"}' \ | ||
| --connect-timeout 30 \ | ||
| --retry 15 \ | ||
| --retry-delay 20 \ | ||
| $ETHEREUM_HOST |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,6 @@ cmake-build-debug | |
| .arg | ||
| .secret | ||
| .bb_tmp | ||
|
|
||
| # Terraform | ||
| *.tfvars | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,3 +17,7 @@ variable "DOCKERHUB_ACCOUNT" { | |
| variable "DEPLOY_TAG" { | ||
| type = string | ||
| } | ||
|
|
||
| variable "L1_CHAIN_ID" { | ||
| type = string | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| # Append value to force redeploy | ||
| 1 | ||
| # Change value to force redeploy | ||
| 2 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This feels like the kind of bug that takes hours to figure out and seconds to fix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
precisely what happened 🙃