Skip to content

Commit

Permalink
chore: Add rendezvous config and PEM fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Oct 19, 2023
1 parent fc542ef commit 7250f0a
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homestar-runtime/fixtures/__testkey_ed25519_2.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
AQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQE=
-----END PRIVATE KEY-----
3 changes: 3 additions & 0 deletions homestar-runtime/fixtures/__testkey_ed25519_3.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN PRIVATE KEY-----
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgI=
-----END PRIVATE KEY-----
15 changes: 15 additions & 0 deletions homestar-runtime/tests/fixtures/test_rendezvous1.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[monitoring]
process_collector_interval = 500
metrics_port = 4035
console_subscriber_port = 5585

[node]

[node.network]
rpc_port = 9825
websocket_port = 8025
listen_address = "/ip4/127.0.0.1/tcp/7000"
enable_mdns = false

[node.network.keypair_config]
existing = { key_type = "ed25519", path = "./fixtures/__testkey_ed25519.pem" }
21 changes: 21 additions & 0 deletions homestar-runtime/tests/fixtures/test_rendezvous2.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[monitoring]
process_collector_interval = 500
metrics_port = 4036
console_subscriber_port = 5586

[node]

[node.network]
rpc_port = 9826
websocket_port = 8026
listen_address = "/ip4/127.0.0.1/tcp/7001"
# announce_addresses = [
# "/ip4/127.0.0.1/tcp/7001/p2p/16Uiu2HAm3g9AomQNeEctL2hPwLapap7AtPSNt8ZrBny4rLx1W5Dc",
# ]
node_addresses = [
"/ip4/127.0.0.1/tcp/7000/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN",
]
enable_mdns = false

[node.network.keypair_config]
existing = { key_type = "secp256k1", path = "./fixtures/__testkey_secp256k1.der" }
18 changes: 18 additions & 0 deletions homestar-runtime/tests/fixtures/test_rendezvous3.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[monitoring]
process_collector_interval = 500
metrics_port = 4037
console_subscriber_port = 5587

[node]

[node.network]
rpc_port = 9827
websocket_port = 8027
listen_address = "/ip4/127.0.0.1/tcp/7002"
node_addresses = [
"/ip4/127.0.0.1/tcp/7000/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN",
]
enable_mdns = false

[node.network.keypair_config]
existing = { key_type = "ed25519", path = "./fixtures/__testkey_ed25519_2.pem" }
18 changes: 18 additions & 0 deletions homestar-runtime/tests/fixtures/test_rendezvous4.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[monitoring]
process_collector_interval = 500
metrics_port = 4037
console_subscriber_port = 5587

[node]

[node.network]
rpc_port = 9827
websocket_port = 8027
listen_address = "/ip4/127.0.0.1/tcp/7002"
node_addresses = [
"/ip4/127.0.0.1/tcp/7000/p2p/12D3KooWDpJ7As7BWAwRMfu1VU2WCqNjvq387JEYKDBj4kx6nXTN",
]
enable_mdns = false

[node.network.keypair_config]
existing = { key_type = "ed25519", path = "./fixtures/__testkey_ed25519_3.pem" }

0 comments on commit 7250f0a

Please sign in to comment.