Skip to content

sg migration: prefer ENV vars from config, fallback to process env

Warren Gifford requested to merge mrn/sg-migration-env-vars into main

Created by: mrnugget

This fixes #31919 (closed) and with it the last reason for having PG* env vars set in an environment. Rest should now be in sg.config.yaml.

Test plan

  • Unset PG* env vars in my .envrc
  • env | grep PG to confirm they're gone in new shell
  • In dev/sg: go run . migration up to confirm it works

Merge request reports

Loading