Tuesday, January 27, 2015

Software - Continuous Delivery Part - 1

Continuous Delivery

Continuous Delivery (CD) is the process by which we can deliver the package in automated way without any manual intervention. Currently there are no major software present today to implement CD. We need to write our own customized script to implement CD. This blog will go through the step by step procedure to implement CD.

CD is one step ahead of Continuous Integration (CI). CI is automatic deployment of product in an environment where as CD is automatic movement of upgraded product from lower to higher environment.

Steps for implementing CD.

  1. Track the list of binaries and configuration item which we are needed by the product.
  2. Create a configuration file to hold the list.
  3. Make a baseline version of configuration file and let it be version 1.0.
  4. The above 3 step are one time setup, we need to do only for first time setup.
  5. Create a script shell/bat based on the environment and incorporate the below item.
    • With the baseline configuration, check for new, update and deletion of each item present in the environment.
    • Copy the changed to common location where the higher environment have access.
  6. Trigger an email that product 2.0 is available with the location.

Hurrah we have completed the CD.


In next blog I will write detailed steps on how to implement CD for java projects.