Over a million developers have joined DZone.

5 Steps for Continuous Deployment

· DevOps Zone

The DevOps Zone is brought to you in partnership with Sonatype Nexus. The Nexus Suite helps scale your DevOps delivery with continuous component intelligence integrated into development tools, including Eclipse, IntelliJ, Jenkins, Bamboo, SonarQube and more. Schedule a demo today

Peter Blair recently blogged about his thoughts on setting up a CI (he suggests Jenkins) in tandem with a continuous deployment system.  Here was his checklist:

1. Developer commits to git/master


2. CI pulls from git/master

2.1 CI runs all regression tests against git/master

2.1.1 CI returns report to developer and halts if any fail

2.2 CI Looks up the package manifest of a given project, and pushes project to staging server


3. Staging server determines which OS project belongs under (Debian, etc) and generates debootstrap image if none exist

3.1 Staging server creates clone of debootstrap image, and apply all .deb packages from manifest to image

3.2 Staging server stores image to shared file space


4. CI calls deployment server to deploy the image to a given environment


5. Deployment server checks manifest, and determines which class of server image is to be deployed, and attempts to deploy the image to appropriate Dom0 for the given environment, as the appropriate DomU

--Peter Blair

He also give some other details along with a diagram to illustrate on his blog post found here.

The DevOps Zone is brought to you in partnership with Sonatype Nexus. Use the Nexus Suite to automate your software supply chain and ensure you're using the highest quality open source components at every step of the development lifecycle. Get Nexus today

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}