Generate schema suitable for comparing for schema changes

This commit is contained in:
Matthew Jones
2018-09-18 13:03:38 -04:00
committed by Elijah DeLee
parent 9b992c971e
commit f737fc066f
3 changed files with 27 additions and 6 deletions

View File

@@ -338,6 +338,12 @@ pyflakes: reports
pylint: reports
@(set -o pipefail && $@ | reports/$@.report)
genschema: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \
fi; \
(set -o pipefail && py.test --genschema awx/conf/tests/functional awx/main/tests/functional/api awx/main/tests/docs --release=$(VERSION_TARGET) | tee reports/$@.report)
swagger: reports
@if [ "$(VENV_BASE)" ]; then \
. $(VENV_BASE)/awx/bin/activate; \