Company
Date Published
Author
Rose Kaplan-Bomberg
Word count
1209
Language
English
Hacker News points
None

Summary

CircleCI's blog post highlights their internal use of workflows, specifically through their circleci-images repository, which is openly available to demonstrate the effectiveness of their workflows toolset. This repository is crucial for building and deploying Docker convenience images used by numerous customers daily, leveraging an efficient and reliable pipeline that incorporates features such as fan-in/fan-out, multiple execution environments, cron scheduling, and branch-based filters. The post outlines the process for creating these images, starting from a commit to deploying on Docker Hub, using a dual workflow approach to accommodate nightly builds and immediate feedback for code changes. The nightly workflow is scheduled to run on the master branch, whereas the regular commit workflow handles changes as they happen, with both workflows sharing similar job configurations to ensure simplicity and reusability. By utilizing YAML anchors and branch-based filtering, CircleCI optimizes its workflow for both staging and production environments, demonstrating the power of multi-platform workflows and the flexibility to choose appropriate execution environments for different jobs.