Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Optmizing workflows with Circle CI (v2)

Optmizing workflows with Circle CI (v2)

--- same content of v1 but different presentation ---
CircleCI is a powerful tool that helps us to manage a continuous integration and delivery for our projects. It's common developers create a hard and solid workflow where some important features aren't used. Let's learn some techniques to improve the time of execution with caching, workplaces and reusable steps.

Rurik Pinheiro

December 07, 2019
Tweet

More Decks by Rurik Pinheiro

Other Decks in Programming

Transcript

  1. Rurik Pinheiro Full stack Developer at Cheesecake Labs • 7

    years building Web applications • Continuous integrations • Python (but PHP, C# and Javascript) [email protected] Rurik Pinheiro
  2. What is CircleCI CircleCI automates your software builds, tests, and

    deployments. It's a powerful tool to build continuous and delivery integration (CI/CD).
  3. CONTINUOUS INTEGRATION It is a development practice that requires developers

    to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early. CONTINUOUS DELIVERY It is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time and, when releasing the software.
  4. What do I need to know? A workflow is a

    set of rules for defining a collection of jobs and their run order. Workflows support complex job orchestration using a simple set of configuration keys to help you resolve failures sooner. Workflow Steps are a collection of executable commands which are run during a job Steps Jobs are a collection of Steps. All of the steps in the job are executed in a single unit which consumes a CircleCI container from your plan while it’s running. Jobs