Skip to content

snordmann/intro-cicd

Repository files navigation

Build Status

Introduction to CI/CD

From code to app

What is Continuous Integration and Continuous Delivery

The central concept of DevOps is to automate all steps of deployment.

Continuous Integration describes a practice where the source is built and tested on each commit a developer pushes.

Continuous Delivery is a extension of CI in which script run to make the built software able to deploy on a press of a button.

As last step Continuous Deployment automates the button pressing on certain developer actions like pushing to a branch or creating a tag.

In practice there is no distinction between the last two.

A simple project

  • Write a simple ExpressJS API
    • npm install express
    • Writing a simple hello world API
  • Add some automated tests
    • Refactor for testing
    • npm install jest supertest --save-dev
  • Push our code to GitHub
  • Set up TravisCI to run automated tests (CI)
    • Difference travis-ci.com travis-ci.org
  • Automatically deploy to now (CD)
    • Travis CLI
    • Now CLI

Important links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published