Add more colors for non-errors

This commit is contained in:
Eric Nemchik 2020-07-01 14:28:32 -05:00
parent 5142e0aebd
commit d328495414
4 changed files with 11 additions and 11 deletions

View file

@ -166,7 +166,7 @@ RunConfigApply()
exit 1 exit 1
else else
# Success # Success
echo "Successfully ran $GHE_APPLY_COMMAND" echo -e "${NC}${F[B]}Successfully ran $GHE_APPLY_COMMAND${NC}"
fi fi
} }
################################################################################ ################################################################################

View file

@ -318,7 +318,7 @@ BuildImage()
exit 1 exit 1
else else
# SUCCESS # SUCCESS
echo "Successfully Built image!" echo -e "${NC}${F[B]}Successfully Built image!${NC}"
fi fi
######################################################## ########################################################
@ -342,7 +342,7 @@ BuildImage()
exit 1 exit 1
else else
# SUCCESS # SUCCESS
echo "Successfully tagged image!" echo -e "${NC}${F[B]}Successfully tagged image!${NC}"
fi fi
fi fi
} }

View file

@ -438,5 +438,5 @@ function BuildFileList()
################ ################
echo "" echo ""
echo "----------------------------------------------" echo "----------------------------------------------"
echo "Successfully gathered list of files..." echo -e "${NC}${F[B]}Successfully gathered list of files...${NC}"
} }

View file

@ -56,7 +56,7 @@ function LintCodebase()
else else
# Success # Success
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
echo "Successfully found binary in system" echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
echo "Location:[$VALIDATE_INSTALL_CMD]" echo "Location:[$VALIDATE_INSTALL_CMD]"
fi fi
fi fi
@ -195,7 +195,7 @@ function LintCodebase()
########### ###########
# Success # # Success #
########### ###########
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully" echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
fi fi
done done
fi fi
@ -245,7 +245,7 @@ function TestCodebase()
exit 1 exit 1
else else
# Success # Success
echo "Successfully found binary in system" echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
echo "Location:[$VALIDATE_INSTALL_CMD]" echo "Location:[$VALIDATE_INSTALL_CMD]"
fi fi
@ -369,7 +369,7 @@ function TestCodebase()
########### ###########
# Success # # Success #
########### ###########
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully" echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
# Increment counter that check was ran # Increment counter that check was ran
((TESTS_RAN++)) ((TESTS_RAN++))
fi fi
@ -396,7 +396,7 @@ function TestCodebase()
########### ###########
# Success # # Success #
########### ###########
echo " - File:[$FILE_NAME] failed test case with [$LINTER_NAME] successfully" echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} failed test case with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
# Increment counter that check was ran # Increment counter that check was ran
((TESTS_RAN++)) ((TESTS_RAN++))
fi fi
@ -520,7 +520,7 @@ function LintAnsibleFiles()
# Success # Success
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
# Success # Success
echo "Successfully found binary in system" echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
echo "Location:[$VALIDATE_INSTALL_CMD]" echo "Location:[$VALIDATE_INSTALL_CMD]"
fi fi
fi fi
@ -627,7 +627,7 @@ function LintAnsibleFiles()
########### ###########
# Success # # Success #
########### ###########
echo " - File:[$FILE_NAME] was linted with [$LINTER_NAME] successfully" echo -e "${NC}${F[B]} - File:${F[W]}[$FILE_NAME]${F[B]} was linted with ${F[W]}[$LINTER_NAME]${F[B]} successfully${NC}"
fi fi
done done
else # No ansible directory found in path else # No ansible directory found in path