Skip to content

Commit 388c230

Browse files
committed
Add lint validation for helm chart versions
1 parent 1fdfd46 commit 388c230

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

infra/scripts/validate-version-consistency.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,14 @@ export FEAST_RELEASE_VERSION=${FEAST_RELEASE_VERSION_WITH_V:1}
2828
declare -a files_to_validate_version=(
2929
"infra/charts/feast/Chart.yaml,1,${FEAST_MASTER_VERSION}"
3030
"infra/charts/feast/charts/feast-core/Chart.yaml,1,${FEAST_MASTER_VERSION}"
31+
"infra/charts/feast/charts/feast-core/values.yaml,1,${FEAST_RELEASE_VERSION}"
32+
"infra/charts/feast/charts/feast-core/README.md,1,${FEAST_RELEASE_VERSION}"
3133
"infra/charts/feast/charts/feast-serving/Chart.yaml,1,${FEAST_MASTER_VERSION}"
34+
"infra/charts/feast/charts/feast-jupyter/values.yaml,1,${FEAST_RELEASE_VERSION}"
35+
"infra/charts/feast/charts/feast-jupyter/README.md,1,${FEAST_RELEASE_VERSION}"
3236
"infra/charts/feast/charts/feast-jupyter/Chart.yaml,1,${FEAST_MASTER_VERSION}"
37+
"infra/charts/feast/charts/feast-serving/values.yaml,1,${FEAST_RELEASE_VERSION}"
38+
"infra/charts/feast/charts/feast-serving/README.md,1,${FEAST_RELEASE_VERSION}"
3339
"infra/charts/feast/requirements.yaml,4,${FEAST_MASTER_VERSION}"
3440
"infra/charts/feast/requirements.lock,4,${FEAST_RELEASE_VERSION}"
3541
"infra/docker-compose/.env.sample,1,${FEAST_RELEASE_VERSION}"
@@ -62,5 +68,5 @@ for i in "${files_to_validate_version[@]}"; do
6268
echo "Expecting $EXPECTED_OCCURRENCES occurrences of $VERSION in $FILE_PATH, but found $ACTUAL_OCCURRENCES"
6369
exit 1
6470
fi
65-
echo "========================================================="
71+
echo "========================================================="
6672
done

0 commit comments

Comments
 (0)