Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cf-blue-green

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cf-blue-green

zero-downtime deployment for Cloud Foundry applications

  • 0.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

Cloud Foundry blue-green deployment

Allows zero-downtime deployments of applications within Cloud Foundry.

Usage

Requires the cf CLI.

  1. Run npm install -g cf-blue-green.
    • Requires Node.js, to make distribution easy. If you don't want to install it, simply:
      1. Download the script.
      2. Run chmod a+x cf-blue-green.
      3. Move the file somewhere in your PATH.
  2. Run cf-blue-green <appname> (instead of cf-push) from your application directory to deploy.

This creates a copy of your already-running application, and safely switches traffic over to it. No additional setup needed!

It's recommended that you try this script on a non-production application environment first, just to ensure that everything is switched over properly.

Resources

More information about blue-green deployment, all of which this script drew from.

Keywords

FAQs

Package last updated on 04 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc