Skip to content
Permalink
Browse files

[ci] Make 'jane' status prompt more descriptive

  • Loading branch information...
drybjed committed Aug 11, 2019
1 parent 9bd53f6 commit 109cd8c8d29c55a2fe0ecc7bd40bf2824ad8249a
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/tests/jane
@@ -780,14 +780,14 @@ status_msg () {
local prompt=""
local inception=""

prompt="${colors["green"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["yellow"]}R${colors["b_black"]}:${colors["reset"]}"
inception="R"
prompt="${colors["green"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["yellow"]}RUNNER${colors["b_black"]}:${colors["reset"]}"
inception="RUNNER"
if [ -n "${JANE_VAGRANT_INCEPTION:-}" ] ; then
prompt="${colors["magenta"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["b_green"]}V${colors["b_black"]}:${colors["reset"]}"
inception="V"
prompt="${colors["magenta"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["b_green"]}PROVISION${colors["b_black"]}:${colors["reset"]}"
inception="PROVISION"
elif [ -n "${JANE_INCEPTION:-}" ] ; then
prompt="${colors["magenta"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["b_blue"]}B${colors["b_black"]}:${colors["reset"]}"
inception="B"
prompt="${colors["magenta"]}${SCRIPTNAME^^}${colors["b_black"]}:${colors["reset"]}${colors["b_blue"]}VM${colors["b_black"]}:${colors["reset"]}"
inception="VM"
fi

case "${msg_type,,}" in

0 comments on commit 109cd8c

Please sign in to comment.
You can’t perform that action at this time.