df92e3f94c
ci / check (push) Has been cancelled
Pivot ecomm from a generic multi-tenant Shopify-alternative storefront to the commitment-commerce + cross-maker verified referral NETWORK direction (ecomm-content/rfcs/network_strategy.md; OHM identity/relationality super-drafts). Phase A of the reset — clear the decks: - Strip the storefront surfaces with no carry-forward: the storefronts domain, the products import/export/image HTTP spine (service/imagefetch/repo + endpoints), the SPA frontend, and the Playwright e2e suite. - Keep the reusable core: /healthz + /api/auth/* (accounts); the catalog-normalization library (codec/dialect/models/serialize/validate/diff/hosted — importable, no HTTP yet); platform/* infra. Migrations untouched (append-only). - Reduce check.sh to backend-only (import-linter + pytest); trim dev.sh and the unused GCS overlay env. Repoint app.json/README/CLAUDE.md; bump VERSION 0.8.0 -> 0.9.0. check.sh green: import-linter (main > domains > platform) KEPT, pytest passing. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
46 lines
1.9 KiB
TOML
46 lines
1.9 KiB
TOML
# deployment.toml — generated by define-deployment (launch-app SPEC §5.1, §6.6).
|
|
# Derived from the One Name 'ecomm' (§3.3); edit the toml, re-import to reconcile (§3.2.1).
|
|
|
|
[app]
|
|
name = "ecomm"
|
|
repo = "wiggleverse/wiggleverse-ecomm"
|
|
gitea_host = "https://git.wiggleverse.org"
|
|
version_source = { kind = "file", path = "VERSION" }
|
|
gitea_read_secret_ref = "wiggleverse-ecomm/ecomm-gitea-read-token"
|
|
|
|
[vm]
|
|
name = "ecomm-ppe"
|
|
zone = "us-central1-a"
|
|
project = "wiggleverse-ecomm"
|
|
machine_type = "e2-micro"
|
|
disk_gb = 10
|
|
service_user = "ecomm"
|
|
install_dir = "/opt/ecomm"
|
|
systemd_unit = "ecomm.service"
|
|
tunnel_through_iap = true
|
|
gcloud_config = "wiggleverse-ecomm"
|
|
|
|
[edge]
|
|
domain = "ecomm-ppe.wiggleverse.org"
|
|
# ecomm's health endpoint is /healthz (SD-0001 §6.4); body carries {status, version}.
|
|
health_url = "https://ecomm-ppe.wiggleverse.org/healthz"
|
|
|
|
# No DATABASE_PATH: ecomm runs Cloud SQL PostgreSQL (SD-0001 D-7/D-8) — the DSN is the
|
|
# ECOMM_DATABASE_URL secret reference below, minted by launch-app's provision-datastore.
|
|
[overlay] # non-secret env, plaintext (guide §8)
|
|
APP_URL = "https://ecomm-ppe.wiggleverse.org"
|
|
ECOMM_MAILER = "smtp"
|
|
ECOMM_COOKIE_SECURE = "1"
|
|
ECOMM_SMTP_HOST = "smtp.gmail.com"
|
|
ECOMM_SMTP_PORT = "587"
|
|
ECOMM_SMTP_USER = "ben.stull@wiggleverse.org"
|
|
ECOMM_SMTP_FROM = "ecomm <ben.stull@wiggleverse.org>"
|
|
# Objectstore (GCS) env removed in the network-seed reset — the seed no longer reads it.
|
|
# Re-add when network catalog-image storage lands; bucket wiggleverse-ecomm-ppe-media stays
|
|
# provisioned.
|
|
|
|
[secrets] # REFERENCES only — never bytes (§8.3)
|
|
ECOMM_SESSION_SECRET = "wiggleverse-ecomm/ecomm-ppe-session-secret"
|
|
ECOMM_DATABASE_URL = "wiggleverse-ecomm/ecomm-ppe-database-url"
|
|
ECOMM_SMTP_PASSWORD = "wiggleverse-ohm/ohm-rfc-app-smtp-password"
|