mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 01:58:09 -03:30
Update docker development workflow to not require make develop
This commit is contained in:
6
Makefile
6
Makefile
@@ -273,9 +273,9 @@ version_file:
|
||||
# Do any one-time init tasks.
|
||||
init:
|
||||
@if [ "$(VIRTUAL_ENV)" ]; then \
|
||||
awx-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
tower-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
else \
|
||||
sudo awx-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
sudo tower-manage register_instance --primary --hostname=127.0.0.1; \
|
||||
fi
|
||||
|
||||
# Refresh development environment after pulling new code.
|
||||
@@ -358,7 +358,7 @@ pylint: reports
|
||||
@(set -o pipefail && $@ | reports/$@.report)
|
||||
|
||||
check: flake8 pep8 # pyflakes pylint
|
||||
|
||||
|
||||
# Run all API unit tests.
|
||||
test:
|
||||
py.test awx/main/tests awx/api/tests awx/fact/tests
|
||||
|
||||
Reference in New Issue
Block a user