nodeshift
Advanced tools
Comparing version 1.7.3 to 1.8.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="1.8.0"></a> | ||
# [1.8.0](https://github.com/bucharest-gold/nodeshift/compare/v1.7.3...v1.8.0) (2018-05-25) | ||
### Features | ||
* add the --deploy.env flag ([#226](https://github.com/bucharest-gold/nodeshift/issues/226)) ([74c482c](https://github.com/bucharest-gold/nodeshift/commit/74c482c)), closes [#223](https://github.com/bucharest-gold/nodeshift/issues/223) | ||
<a name="1.7.3"></a> | ||
@@ -7,0 +17,0 @@ ## [1.7.3](https://github.com/bucharest-gold/nodeshift/compare/v1.7.2...v1.7.3) (2018-05-21) |
@@ -24,2 +24,3 @@ 'use strict'; | ||
@param {number} [options.deploy.port] - flag to update the default ports on the resource files. Defaults to 8080 | ||
@param {Array} [options.deploy.env] - an array of objects to pass deployment config environment variables. [{name: NAME_PROP, value: VALUE}] | ||
@param {object} [options.build] - | ||
@@ -71,2 +72,3 @@ @param {string/boolean} [options.build.recreate] - flag to recreate a buildConfig or Imagestream. values are "buildConfig", "imageStream", true, false. Defaults to false | ||
@param {number} [options.deploy.port] - flag to update the default ports on the resource files. Defaults to 8080 | ||
@param {Array} [options.deploy.env] - an array of objects to pass deployment config environment variables. [{name: NAME_PROP, value: VALUE}] | ||
@param {object} [options.build] - | ||
@@ -95,2 +97,3 @@ @param {string/boolean} [options.build.recreate] - flag to recreate a buildConfig or Imagestream. values are "buildConfig", "imageStream", true, false. Defaults to false | ||
@param {number} [options.deploy.port] - flag to update the default ports on the resource files. Defaults to 8080 | ||
@param {Array} [options.deploy.env] - an array of objects to pass deployment config environment variables. [{name: NAME_PROP, value: VALUE}] | ||
@param {object} [options.build] - | ||
@@ -97,0 +100,0 @@ @param {string/boolean} [options.build.recreate] - flag to recreate a buildConfig or Imagestream. values are "buildConfig", "imageStream", true, false. Defaults to false |
[ | ||
"deployment-config", "service", "route", "labels", "git-info", "health-check" | ||
"deployment-config", "deployment-env", "service", "route", "labels", "git-info", "health-check" | ||
] |
{ | ||
"name": "nodeshift", | ||
"version": "1.7.3", | ||
"version": "1.8.0", | ||
"description": "Plugin for running openshift deployments", | ||
@@ -50,3 +50,3 @@ "bin": { | ||
"request": "~2.87.0", | ||
"openshift-rest-client": "~1.1.2", | ||
"openshift-rest-client": "~1.3.0", | ||
"rimraf": "^2.6.1", | ||
@@ -53,0 +53,0 @@ "tar": "^4.0.1", |
@@ -61,3 +61,18 @@ # Nodeshift [![Build Status](https://travis-ci.org/bucharest-gold/nodeshift.svg?branch=master)](https://travis-ci.org/bucharest-gold/nodeshift) [![Coverage Status](https://coveralls.io/repos/github/bucharest-gold/nodeshift/badge.svg?branch=master)](https://coveralls.io/github/bucharest-gold/nodeshift?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/bucharest-gold/nodeshift.svg)](https://greenkeeper.io/) | ||
DeploymentConfigs will also be enriched with a PORT environment variable. | ||
``` | ||
env: [ | ||
{ | ||
name: 'PORT', | ||
value: '8080' | ||
} | ||
] | ||
``` | ||
The default port value is 8080, but that can be overriden with the `--deploy.port` flag. | ||
You can also override this value by provideding a .nodeshift/deployment.yaml resource file | ||
#### Resource Fragment Parameters | ||
@@ -172,2 +187,5 @@ | ||
#### deploy.env | ||
Flag to pass deployment config environment variables as NAME=Value. Can be used multiple times. ex: `nodeshift --deploy.env NODE_ENV=development --deploy.env YARN_ENABLED=true` | ||
#### build.recreate | ||
@@ -174,0 +192,0 @@ Flag to recreate a BuildConfig or Imagestream. Defaults to false. Choices are "buildConfig", "imageStream", false, true. If true, both are re-created |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
124254
48
2237
244
+ Addedopenshift-rest-client@1.3.0(transitive)
- Removedopenshift-rest-client@1.1.2(transitive)
Updatedopenshift-rest-client@~1.3.0