chore: genericize deployment-specific defaults for public release

- core compose: parameterize TZ (default Etc/UTC), restic S3 region+endpoint
  (vendor-neutral default: AWS S3 us-east-1, no custom endpoint), and the
  xray-enclave allowlist (APEX_ENCLAVE_SUBNET, default 198.18.0.0/16).
  Cloudflare + resticontainer kept as-is.
- the reference fleet pins its real values (Europe/Moscow, ru-central1, Yandex
  Object Storage) in each node's apex.env, so deployed behavior is unchanged.
- drop PARITY.md (internal bash->python port audit; node-specific narrative).
- genericize node-name leftovers (icarus/daedalus, MSK) in tests + comments.

Tests: 26/26 pass. Verified: resticontainer resolves ru-central1/Yandex/Moscow on a node.
This commit is contained in:
deytenit committed 2026-07-11 18:00:13 +03:00
1 parent fc11217a90
commit 94082ad9be
6 files changed
+18 -91

No files matched your search

+4 -4
View File
@@ -10,12 +10,12 @@ class TestIdentity(unittest.TestCase):
return d
def test_explicit_host_and_fqdn(self):
repo = self._envfile("APEX_NODE_FQDN=icarus.a1.example.com\n"
"APEX_NODE_HOST=icarus.example.com\n"
"APEX_SUBNET=198.18.17.0/24\n")
repo = self._envfile("APEX_NODE_FQDN=node1.dc1.example.com\n"
"APEX_NODE_HOST=node1.example.com\n"
"APEX_SUBNET=10.0.0.0/24\n")
n, warns = resolve("build-laptop", repo) # hostname ignored when node.env has FQDN
self.assertEqual((n.name, n.host, n.fqdn, n.subnet),
("icarus", "icarus.example.com", "icarus.a1.example.com", "198.18.17.0/24"))
("node1", "node1.example.com", "node1.dc1.example.com", "10.0.0.0/24"))
self.assertEqual(warns, [])
def test_host_defaults_to_fqdn(self):