Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Workflows Improves Build Times

DZone's Guide to

Workflows Improves Build Times

CircleCI 2.0 now recognizes build, test, and deploy stages as individual jobs with the release of Workflows, giving users control over each step in the process.

· DevOps Zone
Free Resource

Download the blueprint that can take a company of any maturity level all the way up to enterprise-scale continuous delivery using a combination of Automic Release Automation, Automic’s 20+ years of business automation experience, and the proven tools and practices the company is already leveraging.

It was great speaking with Jim Rose, CEO of CircleCI, about how teams using Workflows will now be able to control each stage of their development process to match their ideal process from start to finish.

CircleCI 2.0 (currently in beta) recognizes Build-Test-Deploy as individual jobs with the release of Workflows. Users have complete flexibility and control over how each step in their process is executed.   

On CircleCI 1.0, users were constrained by the execution of jobs in a locked-step fashion. When tests failed, users were required to re-run builds from step 1, resulting in wasted time. Workflows gives developers control and flexibility by allowing them to designate exactly when, if, and how each job is run.

Why Workflows?

The ability to separate and orchestrate jobs has been a top-requested feature from users. Every team’s ideal process from code to production is different. Workflows gives teams the ability to mirror their ideal process in the configuration of their jobs, so that the way changes move from commit to testing to staging or deploy is fully in your control. Turning code into software is not a one-size-fits-all process, and each team should have their own software development workflows they can define for their individual needs. You may have seen similar concepts referred to as “pipelines” or “build stages.”

What Can I Do With Workflows?

Workflows support a number of configurations that you can start using today:

  • Sequential job execution: Run build, test, and deploy sequentially as individual jobs and get faster feedback from each job. CircleCI 1.0 runs your build-test-deploy jobs in sequential lock-step.

  • Parallel job execution (also includes build matrices): For granular build orchestration, faster builds, ability to run multiple jobs in parallel, and a way to resolve all relevant dependencies before you deploy. Parallel job execution also enables build matrices, which allow you to do tasks like build against multiple versions of a language at the same time for faster feedback.

  • Fan-in/fan-out in a repo: Ideal for a more complex build orchestration. Allows you to run multiple jobs in parallel that lead up to a singular job (and vice versa from a singular job to multiple jobs).

  • Branch-level filtering for job execution: Allows you to deploy your code off specific branches.

  • Job execution from failed and job execution from start: Choose where and how your build re-runs to save repeating unnecessary jobs. This allows you to start your workflows from a failed job, as opposed to re-running your whole workflow.

 

Download the ‘Practical Blueprint to Continuous Delivery’ to learn how Automic Release Automation can help you begin or continue your company’s digital transformation.

Topics:
devops ,ci/cd ,circleci ,pipelines

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}