This blog post is an update to a post written by Kim Frederick on the DevOps Services blog in February 2015.
When you think about your delivery pipeline – you know, the automatic and manual steps that transform your source code into a living, breathing, deployed app in the cloud – you can probably break it down into multiple tasks that are executed in stages. You may have a build stage where your code is built and unit tests are executed; or you may have a stage that will deploy your application and then run functional tests. Well, I have great news for you! You can implement your entire delivery pipeline using a Delivery Pipeline in a DevOps toolchain which is part of the IBM Bluemix Continuous Delivery service. Toolchains are integrated sets of tools that make development and operations tasks repeatable and manageable.
With Stages and Jobs, you have more control over your delivery pipeline. As you can see in our example above, there is an FVT stage that has four jobs: a Gate job, a deploy job, a Sauce Labs Tests job, and a Functional Tests job. The PRODUCTION deployment is only triggered when all four of the jobs in the FVT stage are successful. There are three easy-to-use jobs available out of the box: Build, Deploy, and Test.
When you do see a failure, find out why fast! By clicking on View logs and history you can access the detailed logs for each of your jobs. You can see tabs for accessing logs and key information on what was used to execute each job.
Successful delivery of cloud applications requires more than a focus on agile development. Operations is also essential to maintaining user satisfaction, access and to scale with growth. Cloud operations is different to traditional approaches to operations.
When creating a cloud application, you often want to have automated tests for your basic UI functionality, like Selenium based tests. You can run Selenium tests through Sauce Labs or you can run them locally. However, when you run them in a Delivery Pipeline in a DevOps toolchain on Bluemix, you might see errors because the server doesn’t have a way to display the browser window. This post explains how to correct them.
IBM Bluemix Dedicated for GitHub Enterprise is the IBM Cloud-hosted and fully managed version of GitHub Enterprise, available for Dedicated Bluemix environments. GitHub provides the social coding experience that developers love. Bluemix Dedicated provides a next-generation, cloud computing environment on physically isolated hardware, integrated into your network. It’s a perfect match.