Defined stubs for WAD.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Moved webapp_types to deployer/

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Removed old webapp_deployer code from service_spawner project.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Implemented installDependencies() and createEnvironmentFiles() in current deployer code

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Commented out webapp_deployer in user_watcher.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Fixed issue with failed test after change in core default behavior (not resolving domain by default)

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Got rid of webapp_deployer/webapp_watcher from current project code.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Throw an error if NoType detected. Fixed bogus param in installDependencies()

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
More updates to deployer. Creating symlinks works, creating shared dir too.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
/.configured state is now defined in globals (DRY)

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Changed RailsSite to RubySite. Removed UnicornRailsSite in webapp_types.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Removed UnicornRailsSite case.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Defined SSL CA Cert in globals.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Fixed issue with launching sofin dependencies in service prefix instead of latest release dir.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Fixed issue with now waiting properly for some commands.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Rails app on Ruby 2.0 is deployed properly, including simple  database.yml generation. More in details

* Implemented deploy steps: bundle install and rake assets:precompile
* Moved Ruby-specific deployment code to Ruby case.
* Doing bundler cache in service prefix.
* Given custom added at runtime SSL_CERT_FILE env value for service side cacerts.pem which is now automatically downloaded for Ruby deployment.
* Shared directory is now stage aware.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Creating deploying state for deploy process - also use it as service lock file. Improved loggers.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Don't use symbolic links too much (only when they're life savers)

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Fixed issue with missing newline for env generation.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>
Use ENV[USER].dev as default domain of deployer.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>