Skip to content

Commit

Permalink
Adds helm schema validation test to the test suite (#4101)
Browse files Browse the repository at this point in the history
  • Loading branch information
igooch authored Feb 6, 2025
1 parent 7a094c6 commit d62bf66
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ push-release-chart: $(ensure-build-image)
CHART_DIR=install/.helm-$(RELEASE_VERSION)/agones $(MAKE) push-chart

# Run all tests
test: $(ensure-build-image) test-go test-sdks test-install-yaml site-test
test: $(ensure-build-image) test-go test-sdks test-install-yaml site-test helm-lint

# Run go tests
test-go: $(ensure-build-image)
Expand Down Expand Up @@ -875,3 +875,6 @@ install-release: $(ensure-build-image)
$(DOCKER_RUN_ARGS) \
$(build_tag) /go/src/agones.dev/agones/build/install-release.sh

# Validates the Helm values.yaml file against the values.schema.json file.
helm-lint:
$(DOCKER_RUN) bash -c 'cd $(mount_path)/install/helm/agones && helm lint .'

0 comments on commit d62bf66

Please sign in to comment.