This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
forked from blockscout/terraform-for-supernet
-
Notifications
You must be signed in to change notification settings - Fork 0
Do Not Merge #6
Draft
ttarsi
wants to merge
48
commits into
main
Choose a base branch
from
omni
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Do Not Merge #6
Conversation
This file contains 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
- internal testnet - public testnet 1 Using omni blockscout image + custom env variables in docker compose template for ui customization.
The eth bytecode db must talk to the verifier via a gRPC connection. To enable this, we - enable gRPC on port 0851 in the verifier template - increate microserver security group egress and ingress ports to include port 8051 - keep verifier HTTP running on port 8050 for our healthcheck and debuging - switch the verifier alb to a network verifier (gRPC is difficult to configure on application load balancers)
Signed-off-by: percival7777 <[email protected]>
Signed-off-by: percival7777 <[email protected]>
fix: block device mount path
fix postgres version
Signed-off-by: percival7777 <[email protected]>
Signed-off-by: percival7777 <[email protected]>
feat: added xchain indexer deployment
…builds Signed-off-by: percival7777 <[email protected]>
feat: updated testnet to use static image while staging uses latest build
Signed-off-by: percival7777 <[email protected]>
feat: updated staging image to use the actual latest image builds
Enable testnet-2
* add testnet api resource * fix: testnet config
* add testnet api resource * fix: testnet config * refactor: set docker image * fix: var reference
* Allow different docker images for different envs. * Allow staging and testnet to be upgraded to new omniops docker image. - allow different docker images to be used for both staging and testnet - allow docker shell to be configured per env. this allows staging and testnet to operate on different docker images - update logo imports - disable dark mode, as xchain ui updates do not handle dark mode - update BLOCKSCOUT_VERSION New omniops image is "omniops/blockscout:0.1.0.commit.2404d446"
* Update tf variables.tf ,main.tf files and docker compose template for indexer to use a variable for omni rpc addr * Rename omni_config_rpc_addr to omni_rpc in aws/main.tf and aws docker compose template * Remove variable staging_xchain_indexer_omni_config_rpc_addr from variables.tf and introduce locals block with omni_staging_rpc in main.tf instead * rename omni-indexer-rpc-address to omni-rpc in xchain docker template
* Remove staging and testnet docker image variables from xchain and blockscout; Introduce separate images for staging and testnet tags; Pass in xchain_docker_image var instead of hardcoded image to compose xchain template * Rename xchain_docker_image to xchain_indexer_docker_image in main.tf and compose xchain template * Extract docker images for xchain indexer and blockscout to locals in main.tf * Extract omni rpc to local var in main.tf * Add a comment documenting our usage of docker image vars for xchain indexer and blockscout in main.tf * Move blockscout omni ws addresses to local vars, both for staging and testnet
- revert blockscout docker image tags to stable relaease - switch master tags to main tags, to reflect branching changes. - use xchain:main for staging, xchain:latest for testnet
* add an option to generate xchain indexer json config as a variable in terraform, pass it to the ec2 instance as file and mount it as config in docker compose * Make sure backwards compatibility preserved by not overriding present configs with the generated one * Renam var carying the name of the xchain config to better reflect purpose * Rename json_config variable to config_file_content to better capture the purpose * Update main.tf with xchain indexer testnet json config * Remove TODO for xchain_config_file_content
…pose_xchain template (#17)
* remove config-file and omni-rpc as flags from docker_compose_xchain tf template * remove config_file_name and omni_config vars from xchain_settings variable * rename syncInterval -> sync_interval; Rename omni_config.portal_addr -> omni_confi.omni_predeploy_addr in main.tf locals * Add config_file_path to TF config for xchain indexer and make sure it is proprely mounted for xchain indexer and api instances * Switch to snake case for file name of the temp file used to mount indexer config in init_script template
* fix: api path in examples * add param for host link * respond to pr comments
…c2_asg_indexer module (#21)
* Bump xindexer staging deployed version * Fix identation for config mount in docker_compose_xchain.tfpl
* Move some values from main.tf to tfvars * Move cloudflare_api_token from variables.tf to secrets.tf
* Update docker image tags, to include xchain stats. - includes env var + template update to include OMNI_XCHAIN_API * Remove old commented tags, add todo.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
View Changes