Add explict info about what todo to update generated yaml

This commit is contained in:
xuzhonghu 2019-12-02 17:38:43 +08:00
parent 9077081b1e
commit b4315f67d4
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ if ! diff ${VK_ROOT}/installer/volcano-development.yaml ${RELEASE_FOLDER}/volcan
{
echo
echo "The Generated yaml is different from the one in installer/volcano-development.yaml"
echo "Suggest to sync both the files"
echo "please run 'make generate-yaml TAG=latest RELEASE_DIR=installer \
&& mv ${RELEASE_FOLDER}/volcano-latest.yaml ${VK_ROOT}/installer/volcano-development.yaml' to update"
echo
} >&2
false

View File

@ -59,7 +59,7 @@ if [[ ! -d ${RELEASE_FOLDER} ]];then
fi
DEPLOYMENT_FILE=${RELEASE_FOLDER}/${YAML_FILENAME}
echo "Generating volcano yaml file into ${DEPLOYMENT_FILE}}"
echo "Generating volcano yaml file into ${DEPLOYMENT_FILE}"
if [[ -f ${DEPLOYMENT_FILE} ]];then
rm ${DEPLOYMENT_FILE}