mix scoria.post_publish_smoke (scoria v0.1.2)

Copy Markdown View Source

Post-publish registry attest against live Hex and Postgres.

Runs fresh-install registry proof and, when the published version is greater than 0.1.0, the conditional registry semver upgrade proof. This task is maintainer/release-only — it is not part of mix test.adoption.

Environment

  • SCORIA_REGISTRY_VERSION — exact published semver to attest (required)
  • SCORIA_DB_HOST — Postgres host (default: localhost)
  • SCORIA_DB_PORT — Postgres port (default: 5432)
  • SCORIA_DB_USERNAME — Postgres user (default: postgres)
  • SCORIA_DB_PASSWORD — Postgres password (default: postgres)
  • SCORIA_PRESERVE_HOST — when 1, true, or yes, skip host cleanup on exit

Examples

SCORIA_REGISTRY_VERSION=0.1.0 mix scoria.post_publish_smoke
SCORIA_REGISTRY_VERSION=0.1.1 mix scoria.post_publish_smoke