Deployment

heyrocker - March 5, 2008 - 02:36
deploy.png

The deployment framework is a series of modules which are designed to allow developers to easily stage Drupal data from one site to another.

This code is now feature-complete and ready for serious testing. Updates since the inital version:

  • Many UI improvements
  • Vastly superior error handling and reporting
  • Postgres support
  • Detailed auditing of past deployments
  • Can now add multiple views/content types to a plan in one shot

Please read the installation and usage documentation before using the Deployment module. There are a lot of moving parts and while its not "hard" to setup, there are a several steps to go through. There will be a screencast soon!

The deployment framework is designed to have three parts that work together:

  • Deployment API - This implements the concept of a deployment plan. You create a deployment plan and add objects to it which will be deployed (content types, views, etc.) When the time comes these items are pushed to a server you specify via XMLRPC with an API key. The data stored about each item is extremely minimal, relying largely on the implementers to implement object-specific knowledge.
  • Deployment Implementers - Individual modules implement the deployment API to add the data they need to a deployment plan, and expose that ability to the front end. Currently there are three deployment implementers - Content Copy, System Settings and Views.
  • Deployment Services - Services modules which contain the knowledge to receive deployed data and do what is appropriate on the destination server. There are two deployment services included in this package - Content Copy and System Settings. This package also uses the Views service which comes included with the Services module, but it requires the most recent dev snapshot of Services.

A somewhat more detailed writeup of how this works can be found in this blog posting.

I welcome any patches, feature suggestions, feedback, or bug fixes.

Releases

Official releasesDateSizeLinksStatus
5.x-1.0-beta22008-Jun-2114.33 KBRecommended for 5.xThis is currently the recommended release for 5.x.
 
 

Drupal is a registered trademark of Dries Buytaert.