@leverege/build-tools 2.96.4 → 2.96.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/bash-funcs +2 -0
package/package.json
CHANGED
package/src/bash-funcs
CHANGED
|
@@ -271,6 +271,7 @@ EOSLACK
|
|
|
271
271
|
function ifPluggedIn() {
|
|
272
272
|
local INVOKED_AS=`basename $0`
|
|
273
273
|
local PLUGIN=
|
|
274
|
+
HELMUP="helm upgrade --install $SERVICE $CHARTLOC -f $SERVICE/values.yaml $CHARTVER $HELM_WHAT"
|
|
274
275
|
case "$INVOKED_AS" in
|
|
275
276
|
"helmup"|"helmwhat"|"helmcycle" )
|
|
276
277
|
PLUGIN="$1/helmup.plugin"
|
|
@@ -304,6 +305,7 @@ PLUGIN_NOEXEC
|
|
|
304
305
|
[ ! -z "$HELM_WHAT" ] && OPERATION="Performing a DRY RUN"
|
|
305
306
|
printf "\n***$OPERATION => `color y $PLUGIN`\n\n" && sleep 2
|
|
306
307
|
export HELM_WHAT
|
|
308
|
+
service-man --from-helmup --create-service $SERVICE
|
|
307
309
|
. $PLUGIN # executing with . allows the plugin to use functions like color
|
|
308
310
|
sendToSlack "$PLUGIN"
|
|
309
311
|
return 0
|