Skip to content

Commit fe713a0

Browse files
committed
chore: drop yaml validation target, covered in unittests (canonical#6326)
- tests/unittests/config/test_schema.py::TestModuleDocs and TestCloudConfigExamples - tests/unittests/test_merging.py
1 parent d57ab90 commit fe713a0

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Makefile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
CWD=$(shell pwd)
22
VARIANT ?= ubuntu
33

4-
YAML_FILES=$(shell find cloudinit tests tools -name "*.yaml" -type f )
5-
YAML_FILES+=$(shell find doc/examples -name "cloud-config*.txt" -type f )
6-
74
PYTHON ?= python3
85

96
NUM_ITER ?= 100
@@ -19,7 +16,7 @@ BENCHMARK=./tools/benchmark.sh
1916

2017
all: check
2118

22-
check: check_version test yaml
19+
check: check_version test
2320

2421
style-check: lint
2522

@@ -93,9 +90,6 @@ clean_release:
9390
clean: clean_pyc clean_pytest clean_packaging clean_release
9491
rm -rf doc/rtd_html .tox .coverage tags $(GENERATOR_F)
9592

96-
yaml:
97-
@$(PYTHON) $(CWD)/tools/validate-yaml.py $(YAML_FILES)
98-
9993
rpm:
10094
$(PYTHON) ./packages/brpm --distro=$(distro)
10195

@@ -125,7 +119,7 @@ fmt-tip:
125119
tox -e do_format_tip && tox -e check_format_tip
126120

127121

128-
.PHONY: all check test lint clean rpm srpm deb deb-src yaml
122+
.PHONY: all check test lint clean rpm srpm deb deb-src
129123
.PHONY: check_version clean_pyc
130124
.PHONY: unittest style-check render-template benchmark-generator
131125
.PHONY: clean_pytest clean_packaging clean_release doc

0 commit comments

Comments
 (0)