Skip to content

A Node JS project that builds a Docker image, pushes it to Docker hub when CI passes, and then deploys to Kubernetes

Notifications You must be signed in to change notification settings

shippableSamples/node-build-push-docker-hub-deploy-kubernetes

Repository files navigation

AyeAye

Docker Build, Continuous Integration, and Deployment to Kubernetes for a Node JS application

Run Status Coverage Badge

A simple Node JS application with unit tests and coverage reports using mocha and istanbul. It also does a docker build once CI posses and then pushes the image to Docker Hub. Every time the image on Docker Hub changes, it is deployed to a Kubernetes pod running on Amazon EC2.

Run CI for this repo on Shippable

  • Fork this repo into your local repo
  • Login into the Continuous Integration Service
  • Create an integration on shippable to your Docker Hub
  • All CI configuration is in shippable.yml
  • Follow these CI Setup Instructions if you have never used Shippable CI Service
  • You should be able to run a manual build or webhook build on commit

Add Continuous Delivery pipelines to deploy to Kubernetes

Your end to end pipeline is ready! From here on, any change you make to the application will be deployed to your Kubernetes pod.

CI Console Log

CI Console Log

CI Integration View

CI Integration View

CD Pipeline

CD Pipeline

About

A Node JS project that builds a Docker image, pushes it to Docker hub when CI passes, and then deploys to Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published