erikbra / grate

grate - the SQL scripts migration runner
MIT License
207 stars 40 forks source link

Issue #492: Add support for multiple simultaneous environments #495

Closed erikbra closed 7 months ago

erikbra commented 7 months ago

Add support for multiple environments, separated by space, ; or , This makes it possible to create orhotogonal environments, and run scripts that are specific to a combination of environments.

Example: You have:

Then, you can combine any of these environments to create a specific environment, to avoid having to create an environment for each combination.

E.g.:

  --env Customer1;Azure
  --env Customer2,Azure
  --env Customer3
  --env Customer1 AWS Dev
  --env Customer1,AWS,Test
  --env Customer2;AWS;QA
  --env Customer2 AWS QA

etc.

hoangthanh28 commented 7 months ago

Btw Erik you've done amazing steps to push grate forward. I've been very happy since then. Keep it up.

Thanks. Thanh Tran.

erikbra commented 7 months ago

Thanks, @hoangthanh28. I'm very happy with the contributions you have made, too! :)