BT

InfoQ Homepage News Yahoo! Screwdriver–A CD Tool That Scales

Yahoo! Screwdriver–A CD Tool That Scales

Bookmarks

Yahoo! has open sourced Screwdriver, their CD tool used internally in production.

Screwdriver is a continuous delivery tool that integrates all steps from code commit to deployment in production. Yahoo! has increasedly used Screwdriver to automate all delivery processes for the last five years, reaching over 25,000 builds and 12,000+ git commits each day. According to Yahoo!, they wanted a CD tool that:

  • Enables developers to easily create deployment pipelines. Pipelines are defined in YAML files and one can revert to an earlier version of the pipeline by discarding changes or using another version of the configuration file.
  • Optimizes for trunk development. The trunk should contain a shippable version of the application. When a pull request is made, the tests run automatically to make sure the code to be accepted is tested.
  • Supports rolling back. Anybody with write permissions can roll back a deployment in case something goes wrong.

Screwdriver has five main components:

  • REST API – an interface for working with pipelines.

  • Web UI – a visual interface for the pipelines API.

  • Launcher – a tool for setting up the environment and execute shell commands.

  • Execution Engine – a pluggable build executor supporting the execution of commands inside of a container (Jenkins, Kubernetes, Mesos, Docker Swarm).

  • Datastore – a pluggable NoSQL storage used to maintain pipeline configuration data (DynamoDB, MongoDB, CouchDB, Postgres). Both the execution engine and the datastore are using a pluggable architecture that allows one to use the engine of their choice.

Yahoo! has open sourced now a trimmed down version of their CD tool, but they plan to add some of the missing components in the months to come: keeping build metadata to use later, metrics collection, log analysis and templates for setting up and executing pipelines.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.