1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 00:55:06 +03:00

Ignore differences in whitespace for schema validation

This commit is contained in:
Elijah DeLee 2018-11-16 09:47:33 -05:00
parent 949cf53b89
commit 4ae1fdef05

View File

@ -578,7 +578,8 @@ docker-compose-genschema:
docker-compose-validate-schema: docker-compose-validate-schema:
$(MAKE) docker-compose-genschema $(MAKE) docker-compose-genschema
curl https://s3.amazonaws.com/awx-public-ci-files/schema.json -o reference-schema.json curl https://s3.amazonaws.com/awx-public-ci-files/schema.json -o reference-schema.json
diff -u schema.json reference-schema.json # Ignore differences in whitespace with -b
diff -u -b schema.json reference-schema.json
docker-compose-clean: docker-compose-clean:
cd tools && CURRENT_UID=$(shell id -u) TAG=$(COMPOSE_TAG) DEV_DOCKER_TAG_BASE=$(DEV_DOCKER_TAG_BASE) docker-compose run --rm -w /awx_devel --service-ports awx make clean cd tools && CURRENT_UID=$(shell id -u) TAG=$(COMPOSE_TAG) DEV_DOCKER_TAG_BASE=$(DEV_DOCKER_TAG_BASE) docker-compose run --rm -w /awx_devel --service-ports awx make clean