Skip to content
This repository was archived by the owner on Jun 17, 2020. It is now read-only.
/ rainbow Public archive

Rainbow provides a simple blue-green deployment process for static websites served by nginx, requiring only ssh.

License

Notifications You must be signed in to change notification settings

weblogng/rainbow

Repository files navigation

Overview

Rainbow supports blue-green deployment of static web applications to nginx and emphasizes simplicity of operation and implementation.

Rainbow expects

  • fabric to be pre-installed in the deployment toolchain
  • used as an api from within your deployment-related fabfiles
  • artifacts packaged as a tar.gz, which will be extracted on the target node filesystem
  • nginx to serve the artifacts

Usage

Rainbow is expected to be used as an api from within the fabfile(s) used for application deployment.

Since Rainbow is an api, the resulting fabfile integration can look however you want, but Rainbow is designed to support a fab commands like:

Deploy the next release to production:

fab prod deploy-next:artifact_name=rainbow-test.c7821a2.tar.gz

Roll-forward (cut-over) to the 'next' release:

fab prod roll-forward

Roll-back (cut-over) to the 'previous' release:

fab prod roll-back

Credits

Rainbow was heavily-inspired by:

Rainbow is:

  • built-on the terrific Fabric library for ssh and system management tasks
  • made much-simpler by fabtools convenience functions on top of Fabric

About

Rainbow provides a simple blue-green deployment process for static websites served by nginx, requiring only ssh.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published