From 8ca39ffce99f0c3b7803e45e06272ea263a6b160 Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Fri, 13 Oct 2017 12:23:51 -0400 Subject: [PATCH] Adding a CI check for the NOTES.txt file (#2453) Points to docs when file missing to point user to a fix Ref #2373 --- test/circle/lint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/circle/lint.sh b/test/circle/lint.sh index 949960a128..d2037df9ec 100755 --- a/test/circle/lint.sh +++ b/test/circle/lint.sh @@ -111,6 +111,15 @@ for directory in ${CHANGED_FOLDERS}; do yamllinter ${directory} semvercompare ${directory} + + # Check for the existance of the NOTES.txt file. This is required for charts + # in this repo. + if [ ! -f ${directory}/templates/NOTES.txt ]; then + echo "Error NOTES.txt template not found. Please create one." + echo "For more information see https://docs.helm.sh/developing_charts/#chart-license-readme-and-notes" + exitCode=1 + fi + fi done