Releases: kazajhodo/launcher
Updated for Mojave.
Added to launcher terminus functionality.
launcher terminus now works on multidev environments.
Commands are fired the exact same way:
launcher terminus.[site-name].[env-name]
Terminus bug fix.
Dev code execution was only running when the 'dev' environment was passed.
The environments are sequential, so dev is always ran, regardless of option. The option dictates how far into the environments the code is executed, so detecting dev was just plain wrong.
Now if the code is in its first loop, which is dev, it will always execute the dev version of the run. Anything else will execute the full version with code deploy.
Kill fix.
Terminus fix.
Deploying to dev environment was causing errors, however I still wanted to be able to run updb, cim, cr, in one command against dev.
Can also do that with deployment hooks on Pantheon I would imagine, but this way I write it once.
Modified terminus commands per environment to eliminate error and smooth out functionality.
Added Pantheon Terminus deployment functionality.
Using Terminus to deploy pantheon sites is awesome, but annoying when you are doing it over and over. This automates the process, allowing you to deploy per environment.
launcher terminus.[site-name].[environment]
ex: launcher terminus.aaimap.test
This would deploy code to the dev and test environment of a site named aaimap. Terminus would run a drush updb, cim, and cr, on each environment.
Meaning in longhand:
terminus env:deploy aaimap.dev
terminus drush aaimap.dev updb
terminus drush aaimap.dev -- cim -y
terminus drush aaimap.dev cr
terminus env:deploy aaimap.test
terminus drush aaimap.test updb
terminus drush aaimap.test -- cim -y
terminus drush aaimap.test cr
Dev deploys to dev.
Test deploys to dev and test.
Live deploys to dev, test and live.
Modularized.
Functionality has generally remained the same, but has been broken out into individual files within 'include' folder.
This is to make launcher easier to expand in the future.
It makes the code more difficult to read/understand, slightly, but much easier to write for future.
I added a detailed definition of what order the sourced files are loaded into the readme. You may also of course just reference the launcher file which calls them.