Skip to content

Releases: kazajhodo/launcher

Updated for Mojave.

26 Feb 20:45
Compare
Choose a tag to compare

Addressed base php upgrade issue.

Added to launcher terminus functionality.

28 Jan 22:05
Compare
Choose a tag to compare

launcher terminus now works on multidev environments.

Commands are fired the exact same way:

launcher terminus.[site-name].[env-name]

Terminus bug fix.

20 Jan 16:35
Compare
Choose a tag to compare

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.

08 Jan 17:25
Compare
Choose a tag to compare

Kill was causing errors in very specific situations. Resolved.

Terminus fix.

08 Jan 01:59
97fb542
Compare
Choose a tag to compare

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.

03 Jan 19:32
Compare
Choose a tag to compare

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.

02 Jan 23:26
Compare
Choose a tag to compare

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.

Launcher

30 May 18:14
Compare
Choose a tag to compare

Removed debugging code.

Launcher

23 May 18:19
f90614b
Compare
Choose a tag to compare

Reference readme for details.