mirror of
https://github.com/ansible/awx.git
synced 2026-01-09 15:02:07 -03:30
Force ui cleanup in the test environment
Also allow using the system make
This commit is contained in:
parent
89e41f7524
commit
56263a5fea
2
Makefile
2
Makefile
@ -565,7 +565,7 @@ docker-compose-test: docker-auth
|
||||
cd tools && TAG=$(COMPOSE_TAG) DEV_DOCKER_TAG_BASE=$(DEV_DOCKER_TAG_BASE) docker-compose run --rm --service-ports awx /bin/bash
|
||||
|
||||
docker-compose-runtest:
|
||||
cd tools && TAG=$(COMPOSE_TAG) DEV_DOCKER_TAG_BASE=$(DEV_DOCKER_TAG_BASE) docker-compose run --rm --service-ports awx /start_tests.sh
|
||||
cd tools && TAG=$(COMPOSE_TAG) DEV_DOCKER_TAG_BASE=$(DEV_DOCKER_TAG_BASE) docker-compose run --rm --service-ports awx /start_tests.sh && docker-compose rm -sf
|
||||
|
||||
docker-compose-build: awx-devel-build
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
set +x
|
||||
|
||||
make clean
|
||||
cp -R /tmp/awx.egg-info /awx_devel/ || true
|
||||
sed -i "s/placeholder/$(cat /awx_devel/VERSION)/" /awx_devel/awx.egg-info/PKG-INFO
|
||||
cp /tmp/awx.egg-link /venv/awx/lib/python2.7/site-packages/awx.egg-link
|
||||
|
||||
7
tox.ini
7
tox.ini
@ -6,8 +6,9 @@ envlist =
|
||||
api,
|
||||
ui,
|
||||
|
||||
; [testenv]
|
||||
; basepython = python2.7
|
||||
[testenv]
|
||||
;basepython = python2.7
|
||||
whitelist_externals = make
|
||||
; setenv =
|
||||
; DJANGO_SETTINGS_MODULE = awx.settings.development_quiet
|
||||
; SWIG_FEATURES = -cpperraswarn -includeall -I/usr/include/openssl
|
||||
@ -29,6 +30,7 @@ commands =
|
||||
deps =
|
||||
nodeenv
|
||||
commands =
|
||||
make clean-ui
|
||||
make ui-devel
|
||||
npm run --prefix awx/ui jshint
|
||||
npm run --prefix awx/ui lint
|
||||
@ -56,5 +58,6 @@ commands =
|
||||
deps =
|
||||
nodeenv
|
||||
commands =
|
||||
make clean-ui
|
||||
make ui-devel
|
||||
make ui-test-ci
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user