deploy new shards.staging fleet
https://github.com/status-im/infra-shards/issues/29 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
4ef143ed20
commit
883893f547
|
@ -12,7 +12,7 @@ nim_waku_log_level: 'debug'
|
|||
nim_waku_protocols_enabled: ['relay', 'filter', 'lightpush', 'peer-exchange']
|
||||
nim_waku_disc_v5_enabled: true
|
||||
nim_waku_dns4_domain_name: '{{ dns_entry }}'
|
||||
nim_waku_node_key: '{{lookup("bitwarden", "fleets/shards/"+stage+"/nodekeys", field=hostname)}}'
|
||||
#nim_waku_node_key: '{{lookup("bitwarden", "fleets/shards/"+stage+"/nodekeys", field=hostname)}}'
|
||||
|
||||
# Topic configuration
|
||||
nim_waku_cluster_id: 16
|
||||
|
@ -45,6 +45,7 @@ nim_waku_store_message_retention_policy: 'time:2592000' # 30 days
|
|||
nim_waku_dns_disc_enabled: true
|
||||
nim_waku_dns_disc_url_map:
|
||||
test: 'enrtree://AMOJVZX4V6EXP7NTJPMAYJYST2QP6AJXYW76IU6VGJS7UVSNDYZG4@boot.test.shards.nodes.status.im'
|
||||
staging: 'enrtree://AI4W5N5IFEUIHF5LESUAOSMV6TKWF2MB6GU2YK7PU4TYUGUNOCEPW@boot.staging.shards.nodes.status.im'
|
||||
nim_waku_dns_disc_url: '{{ nim_waku_dns_disc_url_map[stage] }}'
|
||||
|
||||
# Websockets
|
||||
|
@ -65,10 +66,16 @@ certbot_docker_enabled: true
|
|||
certbot_admin_email: 'devops@status.im'
|
||||
certbot_services_to_stop: ['nginx']
|
||||
certbot_containers_to_stop: ['{{ nim_waku_cont_name }}']
|
||||
certbot_certs:
|
||||
certbot_certs: '{{ certbot_certs_map[stage] }}'
|
||||
# FIXME: Remove once ENR records are updated without the domain.
|
||||
certbot_certs_map:
|
||||
test:
|
||||
- domains:
|
||||
- '{{ nim_waku_websocket_domain }}'
|
||||
- '{{ nim_waku_websocket_domain | replace("status.im", "statusim.net") }}' # Legacy Domain
|
||||
staging:
|
||||
- domains:
|
||||
- '{{ nim_waku_websocket_domain }}'
|
||||
|
||||
# Open LibP2P Ports
|
||||
open_ports_default_comment: '{{ nim_waku_cont_name }}'
|
||||
|
|
|
@ -12,7 +12,7 @@ nim_waku_log_level: 'debug'
|
|||
nim_waku_protocols_enabled: ['relay', 'store']
|
||||
nim_waku_disc_v5_enabled: true
|
||||
nim_waku_dns4_domain_name: '{{ dns_entry }}'
|
||||
nim_waku_node_key: '{{lookup("bitwarden", "fleets/shards/"+stage+"/nodekeys", field=hostname)}}'
|
||||
#nim_waku_node_key: '{{lookup("bitwarden", "fleets/shards/"+stage+"/nodekeys", field=hostname)}}'
|
||||
|
||||
# Topic configuration
|
||||
nim_waku_cluster_id: 16
|
||||
|
@ -50,6 +50,7 @@ nim_waku_store_message_retention_policy: 'time:2592000' # 30 days
|
|||
nim_waku_dns_disc_enabled: true
|
||||
nim_waku_dns_disc_url_map:
|
||||
test: 'enrtree://AMOJVZX4V6EXP7NTJPMAYJYST2QP6AJXYW76IU6VGJS7UVSNDYZG4@boot.test.shards.nodes.status.im'
|
||||
staging: 'enrtree://AI4W5N5IFEUIHF5LESUAOSMV6TKWF2MB6GU2YK7PU4TYUGUNOCEPW@boot.staging.shards.nodes.status.im'
|
||||
nim_waku_dns_disc_url: '{{ nim_waku_dns_disc_url_map[stage] }}'
|
||||
|
||||
# Websockets
|
||||
|
@ -70,10 +71,16 @@ certbot_docker_enabled: true
|
|||
certbot_admin_email: 'devops@status.im'
|
||||
certbot_services_to_stop: ['nginx']
|
||||
certbot_containers_to_stop: ['{{ nim_waku_cont_name }}']
|
||||
certbot_certs:
|
||||
certbot_certs: '{{ certbot_certs_map[stage] }}'
|
||||
# FIXME: Remove once ENR records are updated without the domain.
|
||||
certbot_certs_map:
|
||||
test:
|
||||
- domains:
|
||||
- '{{ nim_waku_websocket_domain }}'
|
||||
- '{{ nim_waku_websocket_domain | replace("status.im", "statusim.net") }}' # Legacy Domain
|
||||
staging:
|
||||
- domains:
|
||||
- '{{ nim_waku_websocket_domain }}'
|
||||
|
||||
# Open LibP2P Ports
|
||||
open_ports_default_comment: '{{ nim_waku_cont_name }}'
|
||||
|
|
|
@ -0,0 +1,66 @@
|
|||
# NOTE: This file is generated by terraform.py
|
||||
# For emergency use when Consul fails
|
||||
[all]
|
||||
boot-01.ac-cn-hongkong-c.shards.staging hostname=boot-01.ac-cn-hongkong-c.shards.staging ansible_host=47.76.168.186 env=shards stage=staging data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=boot-01.ac-cn-hongkong-c.shards.staging.status.im
|
||||
boot-01.do-ams3.shards.staging hostname=boot-01.do-ams3.shards.staging ansible_host=143.198.250.233 env=shards stage=staging data_center=do-ams3 region=ams3 dns_entry=boot-01.do-ams3.shards.staging.status.im
|
||||
boot-01.gc-us-central1-a.shards.staging hostname=boot-01.gc-us-central1-a.shards.staging ansible_host=104.197.5.96 env=shards stage=staging data_center=gc-us-central1-a region=us-central1-a dns_entry=boot-01.gc-us-central1-a.shards.staging.status.im
|
||||
store-01.ac-cn-hongkong-c.shards.staging hostname=store-01.ac-cn-hongkong-c.shards.staging ansible_host=8.218.206.134 env=shards stage=staging data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=store-01.ac-cn-hongkong-c.shards.staging.status.im
|
||||
store-01.do-ams3.shards.staging hostname=store-01.do-ams3.shards.staging ansible_host=24.144.78.119 env=shards stage=staging data_center=do-ams3 region=ams3 dns_entry=store-01.do-ams3.shards.staging.status.im
|
||||
store-01.gc-us-central1-a.shards.staging hostname=store-01.gc-us-central1-a.shards.staging ansible_host=35.224.231.209 env=shards stage=staging data_center=gc-us-central1-a region=us-central1-a dns_entry=store-01.gc-us-central1-a.shards.staging.status.im
|
||||
store-02.ac-cn-hongkong-c.shards.staging hostname=store-02.ac-cn-hongkong-c.shards.staging ansible_host=47.76.178.164 env=shards stage=staging data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=store-02.ac-cn-hongkong-c.shards.staging.status.im
|
||||
store-02.do-ams3.shards.staging hostname=store-02.do-ams3.shards.staging ansible_host=24.144.78.120 env=shards stage=staging data_center=do-ams3 region=ams3 dns_entry=store-02.do-ams3.shards.staging.status.im
|
||||
store-02.gc-us-central1-a.shards.staging hostname=store-02.gc-us-central1-a.shards.staging ansible_host=34.72.140.183 env=shards stage=staging data_center=gc-us-central1-a region=us-central1-a dns_entry=store-02.gc-us-central1-a.shards.staging.status.im
|
||||
store-db-01.ac-cn-hongkong-c.shards.staging hostname=store-db-01.ac-cn-hongkong-c.shards.staging ansible_host=47.76.183.131 env=shards stage=staging data_center=ac-cn-hongkong-c region=cn-hongkong-c dns_entry=store-db-01.ac-cn-hongkong-c.shards.staging.status.im
|
||||
store-db-01.do-ams3.shards.staging hostname=store-db-01.do-ams3.shards.staging ansible_host=24.144.78.121 env=shards stage=staging data_center=do-ams3 region=ams3 dns_entry=store-db-01.do-ams3.shards.staging.status.im
|
||||
store-db-01.gc-us-central1-a.shards.staging hostname=store-db-01.gc-us-central1-a.shards.staging ansible_host=34.173.29.3 env=shards stage=staging data_center=gc-us-central1-a region=us-central1-a dns_entry=store-db-01.gc-us-central1-a.shards.staging.status.im
|
||||
|
||||
[ac-cn-hongkong-c]
|
||||
boot-01.ac-cn-hongkong-c.shards.staging
|
||||
store-01.ac-cn-hongkong-c.shards.staging
|
||||
store-02.ac-cn-hongkong-c.shards.staging
|
||||
store-db-01.ac-cn-hongkong-c.shards.staging
|
||||
|
||||
[boot]
|
||||
boot-01.ac-cn-hongkong-c.shards.staging
|
||||
boot-01.do-ams3.shards.staging
|
||||
boot-01.gc-us-central1-a.shards.staging
|
||||
|
||||
[do-ams3]
|
||||
boot-01.do-ams3.shards.staging
|
||||
store-01.do-ams3.shards.staging
|
||||
store-02.do-ams3.shards.staging
|
||||
store-db-01.do-ams3.shards.staging
|
||||
|
||||
[gc-us-central1-a]
|
||||
boot-01.gc-us-central1-a.shards.staging
|
||||
store-01.gc-us-central1-a.shards.staging
|
||||
store-02.gc-us-central1-a.shards.staging
|
||||
store-db-01.gc-us-central1-a.shards.staging
|
||||
|
||||
[shards.staging]
|
||||
boot-01.ac-cn-hongkong-c.shards.staging
|
||||
boot-01.do-ams3.shards.staging
|
||||
boot-01.gc-us-central1-a.shards.staging
|
||||
store-01.ac-cn-hongkong-c.shards.staging
|
||||
store-01.do-ams3.shards.staging
|
||||
store-01.gc-us-central1-a.shards.staging
|
||||
store-02.ac-cn-hongkong-c.shards.staging
|
||||
store-02.do-ams3.shards.staging
|
||||
store-02.gc-us-central1-a.shards.staging
|
||||
store-db-01.ac-cn-hongkong-c.shards.staging
|
||||
store-db-01.do-ams3.shards.staging
|
||||
store-db-01.gc-us-central1-a.shards.staging
|
||||
|
||||
[store]
|
||||
store-01.ac-cn-hongkong-c.shards.staging
|
||||
store-01.do-ams3.shards.staging
|
||||
store-01.gc-us-central1-a.shards.staging
|
||||
store-02.ac-cn-hongkong-c.shards.staging
|
||||
store-02.do-ams3.shards.staging
|
||||
store-02.gc-us-central1-a.shards.staging
|
||||
|
||||
[store-db]
|
||||
store-db-01.ac-cn-hongkong-c.shards.staging
|
||||
store-db-01.do-ams3.shards.staging
|
||||
store-db-01.gc-us-central1-a.shards.staging
|
||||
|
|
@ -24,6 +24,9 @@ locals {
|
|||
test = {
|
||||
/* Settings specific to the test fleet/workspace. */
|
||||
}
|
||||
staging = {
|
||||
/* Settings specific to the test fleet/workspace. */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue