Modular Deployment Tool - Core
MDT is a deployment automation tool that is designed to be simple and easily extended by additional modules. It is written in Ruby and takes advantage of Ruby tools, but it can be used to deploy almost anything if there is a module for it.
gem install mdt-core
Be sure to also install any modules that you need.
Alternatively, please see mdt for the convenience gem providing the basic modules.
The gem installs an executable called mdt
that is used in a way described below:
mdt [options] <config_key>
By default it searches for the deployment configuration in config/mdt-deploy.yml
. Options can be any of: -c CONFIG_FILE_PATH
, --config CONFIG_FILE_PATH
, -h
, --help
. config_key
is required.
See config/mdt-deploy.yml.example
for example deployment configuration file with comments.
MDT defines 5 modular objects that can be used to build a simple deploy flow. These objects are:
bundle exec
from Ruby Bundler or environment variables). The way they are prepended is ultimately decided by the specific command.You can contribute to the development of MDT by submitting an issue or pull request. You can also extend MDT’s capabilities by creating your own module in accordance with guidelines in MODULE_GUIDELINES.md and submitting it to RubyGems.
Generated RDoc documentation can be found here.