Skip to content

Commit 66274c2

Browse files
Merge pull request #578 from hzxuzhonghu/gen-yaml
Add explict info about what todo to update generated yaml
2 parents fc4bba2 + b4315f6 commit 66274c2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

hack/check-generated-yaml.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ if ! diff ${VK_ROOT}/installer/volcano-development.yaml ${RELEASE_FOLDER}/volcan
2626
{
2727
echo
2828
echo "The Generated yaml is different from the one in installer/volcano-development.yaml"
29-
echo "Suggest to sync both the files"
29+
echo "please run 'make generate-yaml TAG=latest RELEASE_DIR=installer \
30+
&& mv ${RELEASE_FOLDER}/volcano-latest.yaml ${VK_ROOT}/installer/volcano-development.yaml' to update"
3031
echo
3132
} >&2
3233
false

hack/generate-yaml.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if [[ ! -d ${RELEASE_FOLDER} ]];then
5959
fi
6060

6161
DEPLOYMENT_FILE=${RELEASE_FOLDER}/${YAML_FILENAME}
62-
echo "Generating volcano yaml file into ${DEPLOYMENT_FILE}}"
62+
echo "Generating volcano yaml file into ${DEPLOYMENT_FILE}"
6363

6464
if [[ -f ${DEPLOYMENT_FILE} ]];then
6565
rm ${DEPLOYMENT_FILE}

0 commit comments

Comments
 (0)