mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Add requirements/jenkins.txt
Moves custom test requirements out of jenkins and into the repository.
This commit is contained in:
13
Makefile
13
Makefile
@@ -84,6 +84,19 @@ requirements_pypi:
|
||||
sudo pip install -r requirements/dev.txt; \
|
||||
fi
|
||||
|
||||
# Install third-party requirements needed for running unittests in jenkins
|
||||
# (using locally downloaded packages).
|
||||
requirements_jenkins: requirements
|
||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||
(cd requirements && pip install --no-index -r jenkins.txt); \
|
||||
(cd requirements && pip install -U pycrypto); \
|
||||
$(PYTHON) fix_virtualenv_setuptools.py; \
|
||||
else \
|
||||
(cd requirements && sudo pip install --no-index -r jenkins.txt); \
|
||||
(cd requirements && sudo pip install --no-index -U pycrypto); \
|
||||
fi
|
||||
npm install -g csslint jshint
|
||||
|
||||
# "Install" ansible-tower package in development mode. Creates link to working
|
||||
# copy in site-packages and installs awx-manage command.
|
||||
develop:
|
||||
|
||||
11
requirements/jenkins.txt
Normal file
11
requirements/jenkins.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
# PIP requirements for running Tower unittests in jenkins.
|
||||
# Install using "pip --no-index -r jenkins.txt".
|
||||
|
||||
python-ldap
|
||||
ansible
|
||||
coverage
|
||||
pyzmq
|
||||
python-memcached
|
||||
pyflakes
|
||||
pep8
|
||||
pylint
|
||||
Reference in New Issue
Block a user