--
You received this message because you are subscribed to the Google Groups "Sqitch Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqitch-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sqitch-users/CA%2B_muLE8k7o4eM6eh3%2BZmwByiQOkLNqyp64kO5BvRE1DSr1V%2Bg%40mail.gmail.com.
I asked about this a very long time ago and it's one of the only
things I find most limiting when using sqitch.
AFAIK it still doesn't support variable substitution so I've ended up using a wrapper around the sqitch commands that first templates out the files to a temp dir, then runs sqitch over that.
Mainline support for even basic templates would be fantastic.
Correct me if I'm wrong but I, I don't think this is the same
thing.
What I think the person wants (i.e what I am looking for) is something that allows this
-- dev.yml
db_name: db_name_provided_by_ops_team
foo_api_user: test_user
foo_api_pwd: this_will_get_and_env_override_at_run_time
foo_api_privs: select,update
-- deploy/create_users.sql
use {{ db_name }}
grant {{ privs }} on {{ db_name }} to {{ foo_api_user }}
identified by '{{ foo_api_password }}'
To view this discussion on the web visit https://groups.google.com/d/msgid/sqitch-users/CAOvQPWHM3ke8112Q%2Bgo%3DAVJ%3Dst2BcTiW-hBDj3wJtMtD0%2BGU7A%40mail.gmail.com.