feat(identity): register accounts and resend verification mail

This commit is contained in:
shira committed 2026-10-06 23:59:51 +03:00
1 parent 5e202ac972
commit 4436f626a3
55 files changed
+3227 -88

No files matched your search

+15 -2
View File
@@ -50,6 +50,9 @@ EVIDENCE_SCHEMA = "lincodex.release-evidence/v1"
RELEASE_REGISTRY = "lincodex.invalid"
# Project name used only to render Compose files; nothing is started under it.
RENDER_PROJECT = "lincodex-release"
# Compose requires IDENTITY_KEY_SECRET and .env.example has none; this value only
# lets a render or build go through and is never deployed.
RENDER_ONLY_IDENTITY_KEY = "render-only-identity-key-secret-not-for-deployment"
CHECKS = ("smoke", "e2e")
CHECK_SCOPE = {
"smoke": (
@@ -538,7 +541,12 @@ class Docker:
args += ["-f", str(root / name)]
args += ["config", "--format", "json"]
env = docker_env(
{"APP_PROJECT": RENDER_PROJECT, "APP_NETWORK": f"{RENDER_PROJECT}_default", "LINCODEX_RELEASE_TAG": tag}
{
"APP_PROJECT": RENDER_PROJECT,
"APP_NETWORK": f"{RENDER_PROJECT}_default",
"LINCODEX_RELEASE_TAG": tag,
"IDENTITY_KEY_SECRET": RENDER_ONLY_IDENTITY_KEY,
}
)
return json.loads(run(args, cwd=root, env=env))
@@ -590,7 +598,12 @@ class Docker:
args += ["--build-arg", f"{name}={value}"]
args.append(service)
env = docker_env(
{"APP_PROJECT": RENDER_PROJECT, "APP_NETWORK": f"{RENDER_PROJECT}_default", "LINCODEX_RELEASE_TAG": tag}
{
"APP_PROJECT": RENDER_PROJECT,
"APP_NETWORK": f"{RENDER_PROJECT}_default",
"LINCODEX_RELEASE_TAG": tag,
"IDENTITY_KEY_SECRET": RENDER_ONLY_IDENTITY_KEY,
}
)
print(f"Building {service} for release {tag}", flush=True)
if subprocess.run(args, cwd=root, env=env, check=False).returncode != 0: