Module: TddDeploy
- Defined in:
- lib/tdd_deploy.rb,
lib/tdd_deploy/base.rb,
lib/tdd_deploy/server.rb,
lib/tdd_deploy/capfile.rb,
lib/tdd_deploy/environ.rb,
lib/tdd_deploy/version.rb,
lib/tdd_deploy/installer.rb,
lib/tdd_deploy/test_base.rb,
lib/tdd_deploy/assertions.rb,
lib/tdd_deploy/railengine.rb,
lib/tdd_deploy/run_methods.rb,
lib/tdd_deploy/configurator.rb,
lib/tdd_deploy/copy_methods.rb,
lib/tdd_deploy/deploy_test_methods.rb,
lib/tdd_deploy/site_tests/site_rvm.rb,
lib/tdd_deploy/site_tests/site_user.rb,
lib/tdd_deploy/local_tests/smoke_test.rb,
lib/tdd_deploy/site_tests/site_layout.rb,
lib/tdd_deploy/host_tests/remote_monit.rb,
lib/tdd_deploy/host_tests/remote_nginx.rb,
lib/tdd_deploy/site_tests/site_database.rb,
lib/tdd_deploy/host_tests/remote_postfix.rb,
lib/tdd_deploy/host_tests/host_connection.rb,
lib/tdd_deploy/host_tests/remote_ip_tables.rb,
lib/tdd_deploy/host_tests/remote_postgresql.rb
Overview
TddDeploy
TddDeploy provides methods for testing the provisioning of remote hosts and Rails instances running as virtual hosts
Tests are simple to write.
Step 1: require 'tdd_deploy' and then subclass TddDeploy::Base
Step 2: write tests using the methods: *run_on_all_hosts* and *run_on_all_hosts_as*
Step 3: run tests and fix installation until all tests pass
These tests do not guarantee that anything will work. They only test to see if the files are installed and that communication works to all hosts the site runs on.
see the tdd_deploy gem Readme file for more information.
see HostSetup.md and SiteSetup.md for info on setting up Arch linux servers and Rails apps running on them. Both of these documents are out of sync with respect to the rest of tdd_deploy: make the ‘obvious’ translation between shell script variables and tdd_deploy environment keys.
Defined Under Namespace
Modules: Assertions, CopyMethods, DeployTestMethods, Environ, RunMethods Classes: Base, Capfile, Configurator, Engine, HostConnection, Installer, RemoteIpTables, RemoteMonit, RemoteNginx, RemotePostfix, RemotePostgresql, Server, SiteDatabase, SiteLayout, SiteRvm, SiteUser, SmokeTest, TestBase
Constant Summary collapse
- VERSION =
'0.1.13'