Gulp CI (Continuous Integration) for IBM Bluemix / CloudFoundry (https://github.com/JamesRLamar/bxgulp)
This sample application in this repo is based on the Node.js Cloudant Sample. Follow README instructions to setup this app in Bluemix.
- Create account at https://console.bluemix.net
- Install the latest Bluemix CLI tool: https://clis.ng.bluemix.net/ui/home.html (Currently 0.5.6)
- Run `npm install`
All deployment parameters may be configured in gulp.config.js
gulp deploy
(default user and default space)
OR
gulp deploy [email protected] --space=Production
gulp deploy --rollback=*.*.*
Works only for PRODUCTION app and rolls back to the specified version and stops the current production version.
Special Note: "production": "0.0.0" in package.json is reserved to tell the app that no version has ever been pushed to Production.
gulp bump
This will automatically bump the package.json. Bump is automatically called when defaultSpace is used.
--type=patch (*.*.x) (DEFAULT)
--type=pre (*.*.*-x)
--type=minor (*.x.*)
--type=major (x.*.*)
--ver="2.0.0"
--nobump
gulp build
Builds application files and manifest.yml to build
folder