Sign inSign up

foo0x29a/amaijin

By foo0x29a

Updated about 8 years ago

Automated build for a Node.js web application

Image
0

1.5K

foo0x29a/amaijin repository overview

amaijin

This project contains a simple Hello World app in Node.js with an almost complete CI/CD feature. It is possible to access the exposed app through the following address: http://35.201.102.178/

Flow

  • Whenever a push happens to the master branch, GitHub triggers an automated build of the Docker image.
  • The new image is built using the tag latest on DockerHub.
  • Now it is possible to build the job on Jenkins, shipping the new image and running the container on Kubernetes, using helm.
  • Helm will upgrade the release and expose the application with a downtime depending on the deploy time.

Limitations

  • The DockerHub autobuild webhook is not working properly, which means it is needed to wait until the image is built and then manually build the job on Jenkins.
  • The deploy should be done following a smarter strategy such as Blue-Green Deployment or Canary, with a lower downtime.

Tag summary

Content type

Image

Digest

Size

24.7 MB

Last updated

about 8 years ago

docker pull foo0x29a/amaijin