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 - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

bin/cf-blue-green-travis

5

package.json
{
"name": "cf-blue-green",
"version": "0.1.1",
"version": "0.2.0",
"description": "zero-downtime deployment for Cloud Foundry applications",

@@ -22,4 +22,5 @@ "repository": {

"bin": {
"cf-blue-green": "./bin/cf-blue-green"
"cf-blue-green": "./bin/cf-blue-green",
"cf-blue-green-travis": "./bin/cf-blue-green-travis"
}
}

@@ -39,2 +39,26 @@ # Cloud Foundry blue-green deployment

### Using with Travis
Travis supports [continuous deployment](http://docs.travis-ci.com/user/deployment/), which will automatically deploy your application after its tests pass on a specified branch. To use `cf-blue-green` with Travis, you need to use a [script provider](http://docs.travis-ci.com/user/deployment/script/) instead of the default Cloud Foundry provider. Your Cloud Foundry settings are read from environment variables.
Set up continuous deployment with the following settings in your `.travis.yml` file:
```yml
sudo: true
env:
global:
- CF_APP=[app name]
- CF_API=[API endpoint]
- CF_USERNAME=[user]
- CF_ORGANIZATION=[organization]
- CF_SPACE=[space]
- secure: [CF_PASSWORD=[encrypted with Travis](http://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables)]
before_deploy: npm install -g cf-blue-green
deploy:
provider: script
script: cf-blue-green-travis
on:
branch: [git branch you want to deploy]
```
### Manifests

@@ -41,0 +65,0 @@

bin/cf-blue-green

Sorry, the diff of this file is not supported yet

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