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
else
# Success
echo "Successfully ran $GHE_APPLY_COMMAND"
echo -e "${NC}${F[B]}Successfully ran $GHE_APPLY_COMMAND${NC}"
fi
}
################################################################################

View file

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

View file

@ -438,5 +438,5 @@ function BuildFileList()
################
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
# Success
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]"
fi
fi
@ -195,7 +195,7 @@ function LintCodebase()
###########
# 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
done
fi
@ -245,7 +245,7 @@ function TestCodebase()
exit 1
else
# Success
echo "Successfully found binary in system"
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
echo "Location:[$VALIDATE_INSTALL_CMD]"
fi
@ -369,7 +369,7 @@ function TestCodebase()
###########
# 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
((TESTS_RAN++))
fi
@ -396,7 +396,7 @@ function TestCodebase()
###########
# 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
((TESTS_RAN++))
fi
@ -520,7 +520,7 @@ function LintAnsibleFiles()
# Success
if [[ "$ACTIONS_RUNNER_DEBUG" == "true" ]]; then
# Success
echo "Successfully found binary in system"
echo -e "${NC}${F[B]}Successfully found binary in system${NC}"
echo "Location:[$VALIDATE_INSTALL_CMD]"
fi
fi
@ -627,7 +627,7 @@ function LintAnsibleFiles()
###########
# 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
done
else # No ansible directory found in path