mirror of
https://github.com/ansible/awx.git
synced 2026-01-27 00:21:30 -03:30
More updates to support latest django_jenkins
This commit is contained in:
parent
b37925149b
commit
888352270b
10
Makefile
10
Makefile
@ -37,9 +37,9 @@ endif
|
||||
MOCK_BIN ?= mock
|
||||
MOCK_CFG ?=
|
||||
|
||||
.PHONY: clean rebase push requirements requirements_pypi develop refresh \
|
||||
adduser syncdb migrate dbchange dbshell runserver celeryd receiver test \
|
||||
test_coverage coverage_html test_ui test_jenkins dev_build \
|
||||
.PHONY: clean rebase push requirements requirements_pypi requirements_jenkins \
|
||||
develop refresh adduser syncdb migrate dbchange dbshell runserver celeryd \
|
||||
receiver test test_coverage coverage_html test_ui test_jenkins dev_build \
|
||||
release_build release_clean sdist rpm
|
||||
|
||||
# Remove temporary build files, compiled Python files.
|
||||
@ -88,7 +88,7 @@ requirements_pypi:
|
||||
# (using locally downloaded packages).
|
||||
requirements_jenkins: requirements
|
||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||
(cd requirements && pip install -r jenkins.txt); \
|
||||
(cd requirements && pip install -U -r jenkins.txt); \
|
||||
(cd requirements && pip install -U pycrypto); \
|
||||
$(PYTHON) fix_virtualenv_setuptools.py; \
|
||||
else \
|
||||
@ -190,7 +190,7 @@ test_tox:
|
||||
|
||||
# Run unit tests to produce output for Jenkins.
|
||||
test_jenkins:
|
||||
$(PYTHON) manage.py jenkins -v2
|
||||
$(PYTHON) manage.py jenkins -v2 --enable-coverage --project-apps-tests
|
||||
|
||||
Gruntfile.js:
|
||||
cp packaging/grunt/$@ $@
|
||||
|
||||
@ -27,14 +27,13 @@ CALLBACK_QUEUE_PORT = "ipc:///tmp/callback_receiver_dev.ipc"
|
||||
try:
|
||||
import django_jenkins
|
||||
INSTALLED_APPS += ('django_jenkins',)
|
||||
PROJECT_APPS = ('awx.main', 'awx.api',)
|
||||
PROJECT_APPS = ('awx.main.tests', 'awx.api.tests',)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
if 'django_jenkins' in INSTALLED_APPS:
|
||||
JENKINS_TASKS = (
|
||||
'django_jenkins.tasks.run_pylint',
|
||||
'django_jenkins.tasks.with_coverage',
|
||||
'django_jenkins.tasks.run_pep8',
|
||||
'django_jenkins.tasks.run_pyflakes',
|
||||
'django_jenkins.tasks.run_jshint',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user