Commit b501bfa0 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

Merge branch '6-no-upgrade-when-deploying' into 'master'

Resolve "no upgrade when deploying"

Closes #6

See merge request !6
parents 898c5061 8a5a453a
Pipeline #884 passed with stages
in 1 minute and 47 seconds
# Changelog
## [1.2.2] - 2018-09-12
### Fixed
* upgrade performs with `--recreate-pods` to always recreate pods
## [1.2.1] - 2018-09-05
### Changed
* enable import image prior to build process with `--input`
......@@ -26,3 +31,4 @@
[1.1.1]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.1.0...release%2F1.1.1
[1.2.0]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.1.1...release%2F1.2.0
[1.2.1]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.0...release%2F1.2.1
[1.2.2]: https://git.sc.uni-leipzig.de/ubl/bdd_dev/webmasterei/deployer/compare/release%2F1.2.1...release%2F1.2.2
......@@ -273,7 +273,7 @@ helm_deploy() {
helmargs=$(echo -e "$helmargs" | sed -E 's/(^[[:space:]]*)|([[:space:]]*$)//g')
cmd="helm upgrade --install --wait --timeout=60 --tiller-namespace=${namespace}"
cmd="$cmd --namespace=${namespace} ${name} ${charts} ${helmargs}"
cmd="$cmd --namespace=${namespace} --recreate-pods ${name} ${charts} ${helmargs}"
out=`$cmd 2>&1`
if [ "$?" != "0" ];then
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment