-
Notifications
You must be signed in to change notification settings - Fork 4
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
add auto domain to infra PT.1 #311
Conversation
PR Description updated to latest commit (3d73464) |
PR Review 🔍
Code feedback:
|
PR Code Suggestions ✨
|
30a37d6
to
05ae7c9
Compare
290251d
to
55972b3
Compare
@@ -192,7 +192,19 @@ if [ "${enable_domains}" == "true" ]; then | |||
echo " \"--reserved-nodes\", \"${addr}\"," >> ~/subspace/docker-compose.yml | |||
echo " \"--bootstrap-nodes\", \"${addr}\"," >> ~/subspace/docker-compose.yml | |||
done | |||
|
|||
# auto domain | |||
echo ' "--",' |
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 is not correct unfotunately
We would need to create two compose file. One for EVM and one for AutoID
Our node currently does not support running multiple domains in the single binary
8aa7653
to
d581e85
Compare
add auto add DNS records minor fixes domain label and ID add operator ID decouple 2 separate domains for evm and autoid add more changes to domains Fix Fix traefik labels and remove auto extra chains in configs fix merge conflict
7468bd3
to
cd5fdc8
Compare
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 PR changes can be much smaller if we merged the nova and autoID config. This will pave way for much more composable infra for future domains too
@@ -37,6 +37,23 @@ module "devnet" { | |||
disk-volume-type = var.disk_volume_type | |||
} | |||
|
|||
bootstrap-node-autoid-config = { |
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.
I was actually hoping we can merge the nova and autoID in to a single type. There is not much difference except domain-id
@@ -0,0 +1,176 @@ | |||
#!/bin/bash |
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.
Why not use the EVM script ?
There is no difference in them
724d64d
to
e9e407c
Compare
User description
The PR adds auto domain to the terraform infra. The changes will be applied to devnet first.
PR Type
enhancement
Description
Changes walkthrough 📝
variables.tf
Extend domain configuration in variables
resources/devnet/variables.tf
alongside 'evm'.
bootstrap_node_evm_provisioner.tf
Update bootstrap node provisioner for multiple domains
templates/terraform/hetzner/bootstrap_node_evm_provisioner.tf
'AUTO' domain configurations.
domain_node_provisioner.tf
Enhance domain node provisioner for multi-domain support
templates/terraform/hetzner/domain_node_provisioner.tf
bootstrap_node_evm_provisioner.tf
Refactor bootstrap node provisioner for domain clarity
templates/terraform/network-primitives/bootstrap_node_evm_provisioner.tf
separation.
domain_node_provisioner.tf
Update domain node provisioner for multiple domains
templates/terraform/network-primitives/domain_node_provisioner.tf
and labels.
create_bootstrap_node_evm_compose_file.sh
Add 'auto' domain support in Docker compose script
templates/scripts/create_bootstrap_node_evm_compose_file.sh
create_domain_node_compose_file.sh
Extend Docker compose configuration for multiple domains
templates/scripts/create_domain_node_compose_file.sh