Skip to content

Commit

Permalink
[ci] Make 'jane' status prompt more descriptive
Browse files Browse the repository at this point in the history
  • Loading branch information
drybjed committed Aug 11, 2019
1 parent 9bd53f6 commit 109cd8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/tests/jane
Expand Up @@ -780,14 +780,14 @@ status_msg () {
local prompt="" local prompt=""
local inception="" local inception=""


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


case "${msg_type,,}" in case "${msg_type,,}" in
Expand Down

0 comments on commit 109cd8c

Please sign in to comment.