@leverege/build-tools 1.11.3 → 1.11.4
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/lib/server/helmup +18 -1
- package/package.json +1 -1
- package/src/helmup +18 -1
package/lib/server/helmup
CHANGED
|
@@ -191,7 +191,7 @@ function installKeel() {
|
|
|
191
191
|
|
|
192
192
|
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
|
193
193
|
SLACK_BOT_NAME="`overwhelm -k SLACK_BOT_NAME`"
|
|
194
|
-
[ -z "$SLACK_BOT_NAME" ] && SLACK_BOT_NAME=$BRANCH
|
|
194
|
+
[[ -z "$SLACK_BOT_NAME" || "$SLACK_BOT_NAME" == "undefined" ]] && SLACK_BOT_NAME=$BRANCH
|
|
195
195
|
SLACK_TOKEN="$LEV_KEYS/$BRANCH/slack-bot-token"
|
|
196
196
|
[ ! -f "$SLACK_TOKEN" ] &&
|
|
197
197
|
keelNeeds "Missing slack bot token => `color c $SLACK_TOKEN`"
|
|
@@ -224,6 +224,23 @@ NOMUSEUM
|
|
|
224
224
|
fi
|
|
225
225
|
|
|
226
226
|
GITTOP=`git rev-parse --show-toplevel` && cd $GITTOP
|
|
227
|
+
if [ -d "${GITTOP}/k8-utils" ];
|
|
228
|
+
then
|
|
229
|
+
cat<<BADK8
|
|
230
|
+
|
|
231
|
+
$YELO_WARN The k8_utils directory should be renamed to k8s_utils
|
|
232
|
+
|
|
233
|
+
This repository has the old k8_util directory name in place. Please rename
|
|
234
|
+
it to the newer k8s_utils directory that `color c helmup` will be looking for.
|
|
235
|
+
|
|
236
|
+
Run this => `color g "git mv k8-utils k8s-utils; git add k8*utils"`
|
|
237
|
+
|
|
238
|
+
$YELO_WARN Don't forget to commit and push after the renaming.
|
|
239
|
+
|
|
240
|
+
BADK8
|
|
241
|
+
exit 1
|
|
242
|
+
fi
|
|
243
|
+
|
|
227
244
|
K8S_UTILS="${GITTOP}/k8s-utils"
|
|
228
245
|
if [ ! -d "$K8S_UTILS" ];
|
|
229
246
|
then
|
package/package.json
CHANGED
package/src/helmup
CHANGED
|
@@ -191,7 +191,7 @@ function installKeel() {
|
|
|
191
191
|
|
|
192
192
|
BRANCH=`git rev-parse --abbrev-ref HEAD`
|
|
193
193
|
SLACK_BOT_NAME="`overwhelm -k SLACK_BOT_NAME`"
|
|
194
|
-
[ -z "$SLACK_BOT_NAME" ] && SLACK_BOT_NAME=$BRANCH
|
|
194
|
+
[[ -z "$SLACK_BOT_NAME" || "$SLACK_BOT_NAME" == "undefined" ]] && SLACK_BOT_NAME=$BRANCH
|
|
195
195
|
SLACK_TOKEN="$LEV_KEYS/$BRANCH/slack-bot-token"
|
|
196
196
|
[ ! -f "$SLACK_TOKEN" ] &&
|
|
197
197
|
keelNeeds "Missing slack bot token => `color c $SLACK_TOKEN`"
|
|
@@ -224,6 +224,23 @@ NOMUSEUM
|
|
|
224
224
|
fi
|
|
225
225
|
|
|
226
226
|
GITTOP=`git rev-parse --show-toplevel` && cd $GITTOP
|
|
227
|
+
if [ -d "${GITTOP}/k8-utils" ];
|
|
228
|
+
then
|
|
229
|
+
cat<<BADK8
|
|
230
|
+
|
|
231
|
+
$YELO_WARN The k8_utils directory should be renamed to k8s_utils
|
|
232
|
+
|
|
233
|
+
This repository has the old k8_util directory name in place. Please rename
|
|
234
|
+
it to the newer k8s_utils directory that `color c helmup` will be looking for.
|
|
235
|
+
|
|
236
|
+
Run this => `color g "git mv k8-utils k8s-utils; git add k8*utils"`
|
|
237
|
+
|
|
238
|
+
$YELO_WARN Don't forget to commit and push after the renaming.
|
|
239
|
+
|
|
240
|
+
BADK8
|
|
241
|
+
exit 1
|
|
242
|
+
fi
|
|
243
|
+
|
|
227
244
|
K8S_UTILS="${GITTOP}/k8s-utils"
|
|
228
245
|
if [ ! -d "$K8S_UTILS" ];
|
|
229
246
|
then
|