blob: 8517d19611ec21371dc8877eb645b20321888588 [file] [log] [blame]
# SPDX-FileCopyrightText: 2021-present Open Networking Foundation <>
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
.PHONY: all test clean
all: test
test: # @HELP run the acceptance tests
test: deps yang-lint
roc-test: # @HELP run the integration tests
roc-test: deps # @HELP run the integration tests
clean: # @HELP clean up temporary files for ROC umbrella.
rm -rf aether-roc-umbrella/charts aether-roc-umbrella/Chart.lock
deps: # @HELP build dependencies for ROC Umbrella local charts.
deps: clean
helm dep build aether-roc-umbrella
@grep -E '^.*: *# *@HELP' $(MAKEFILE_LIST) \
| sort \
| awk ' \
BEGIN {FS = ": *# *@HELP"}; \
{printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}; \
#pyang --lint ./config-models/*.x/files/yang/*.yang
pyang --lint ./config-models/aether-1.x/files/yang/*.yang
pyang --lint ./config-models/aether-2.x/files/yang/*.yang
pyang --lint ./config-models/aether-2.1.x/files/yang/*.yang
pyang --lint ./config-models/aether-2.2.x/files/yang/*.yang
pyang --lint ./config-models/aether-3.x/files/yang/*.yang
pyang --lint --lint-ensure-hyphenated-names -W error ./config-models/aether-4.x/files/yang/*.yang -p ./config-models/aether-4.x/files/yang
pyang --lint --lint-ensure-hyphenated-names -W error ./config-models/plproxy-1.x/files/yang/*.yang -p ./config-models/plproxy-1.x/files/yang