mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
Modify dev make target name to clarify intention
these make targets are for starting the different daemons within the kube/docker development environment updating the name to make it better reflect their intention also added comments above the make target to describe what they do note: these comments show up when run `make help`
This commit is contained in:
53
Makefile
53
Makefile
@@ -70,12 +70,6 @@ I18N_FLAG_FILE = .i18n_built
|
|||||||
VERSION PYTHON_VERSION docker-compose-sources \
|
VERSION PYTHON_VERSION docker-compose-sources \
|
||||||
.git/hooks/pre-commit github_ci_setup github_ci_runner
|
.git/hooks/pre-commit github_ci_setup github_ci_runner
|
||||||
|
|
||||||
cache-clear:
|
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
|
||||||
. $(VENV_BASE)/awx/bin/activate; \
|
|
||||||
fi; \
|
|
||||||
$(PYTHON) manage.py run_cache_clear
|
|
||||||
|
|
||||||
clean-tmp:
|
clean-tmp:
|
||||||
rm -rf tmp/
|
rm -rf tmp/
|
||||||
|
|
||||||
@@ -223,18 +217,6 @@ daphne:
|
|||||||
fi; \
|
fi; \
|
||||||
daphne -b 127.0.0.1 -p 8051 awx.asgi:channel_layer
|
daphne -b 127.0.0.1 -p 8051 awx.asgi:channel_layer
|
||||||
|
|
||||||
wsrelay:
|
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
|
||||||
. $(VENV_BASE)/awx/bin/activate; \
|
|
||||||
fi; \
|
|
||||||
$(PYTHON) manage.py run_wsrelay
|
|
||||||
|
|
||||||
heartbeet:
|
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
|
||||||
. $(VENV_BASE)/awx/bin/activate; \
|
|
||||||
fi; \
|
|
||||||
$(PYTHON) manage.py run_heartbeet
|
|
||||||
|
|
||||||
## Run to start the background task dispatcher for development.
|
## Run to start the background task dispatcher for development.
|
||||||
dispatcher:
|
dispatcher:
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
@@ -242,7 +224,6 @@ dispatcher:
|
|||||||
fi; \
|
fi; \
|
||||||
$(PYTHON) manage.py run_dispatcher
|
$(PYTHON) manage.py run_dispatcher
|
||||||
|
|
||||||
|
|
||||||
## Run to start the zeromq callback receiver
|
## Run to start the zeromq callback receiver
|
||||||
receiver:
|
receiver:
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
@@ -250,12 +231,6 @@ receiver:
|
|||||||
fi; \
|
fi; \
|
||||||
$(PYTHON) manage.py run_callback_receiver
|
$(PYTHON) manage.py run_callback_receiver
|
||||||
|
|
||||||
rsyslog-configurer:
|
|
||||||
@if [ "$(VENV_BASE)" ]; then \
|
|
||||||
. $(VENV_BASE)/awx/bin/activate; \
|
|
||||||
fi; \
|
|
||||||
$(PYTHON) manage.py run_rsyslog_configurer
|
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
nginx -g "daemon off;"
|
nginx -g "daemon off;"
|
||||||
|
|
||||||
@@ -265,6 +240,34 @@ jupyter:
|
|||||||
fi; \
|
fi; \
|
||||||
$(MANAGEMENT_COMMAND) shell_plus --notebook
|
$(MANAGEMENT_COMMAND) shell_plus --notebook
|
||||||
|
|
||||||
|
## Start the rsyslog configurer process in background in development environment.
|
||||||
|
run-rsyslog-configurer:
|
||||||
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
. $(VENV_BASE)/awx/bin/activate; \
|
||||||
|
fi; \
|
||||||
|
$(PYTHON) manage.py run_rsyslog_configurer
|
||||||
|
|
||||||
|
## Start cache_clear process in background in development environment.
|
||||||
|
run-cache-clear:
|
||||||
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
. $(VENV_BASE)/awx/bin/activate; \
|
||||||
|
fi; \
|
||||||
|
$(PYTHON) manage.py run_cache_clear
|
||||||
|
|
||||||
|
## Start the wsrelay process in background in development environment.
|
||||||
|
run-wsrelay:
|
||||||
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
. $(VENV_BASE)/awx/bin/activate; \
|
||||||
|
fi; \
|
||||||
|
$(PYTHON) manage.py run_wsrelay
|
||||||
|
|
||||||
|
## Start the heartbeat process in background in development environment.
|
||||||
|
run-heartbeet:
|
||||||
|
@if [ "$(VENV_BASE)" ]; then \
|
||||||
|
. $(VENV_BASE)/awx/bin/activate; \
|
||||||
|
fi; \
|
||||||
|
$(PYTHON) manage.py run_heartbeet
|
||||||
|
|
||||||
reports:
|
reports:
|
||||||
mkdir -p $@
|
mkdir -p $@
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ stderr_logfile_maxbytes=0
|
|||||||
|
|
||||||
[program:awx-rsyslog-configurer]
|
[program:awx-rsyslog-configurer]
|
||||||
{% if kube_dev | bool %}
|
{% if kube_dev | bool %}
|
||||||
command = make rsyslog-configurer
|
command = make run-rsyslog-configurer
|
||||||
directory = /awx_devel
|
directory = /awx_devel
|
||||||
{% else %}
|
{% else %}
|
||||||
command = awx-manage run_rsyslog_configurer
|
command = awx-manage run_rsyslog_configurer
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ stderr_logfile_maxbytes=0
|
|||||||
|
|
||||||
[program:wsrelay]
|
[program:wsrelay]
|
||||||
{% if kube_dev | bool %}
|
{% if kube_dev | bool %}
|
||||||
command = make wsrelay
|
command = make run-wsrelay
|
||||||
directory = /awx_devel
|
directory = /awx_devel
|
||||||
{% else %}
|
{% else %}
|
||||||
command = awx-manage run_wsrelay
|
command = awx-manage run_wsrelay
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ stderr_logfile_maxbytes=0
|
|||||||
|
|
||||||
[program:heartbeet]
|
[program:heartbeet]
|
||||||
{% if kube_dev | bool %}
|
{% if kube_dev | bool %}
|
||||||
command = make heartbeet
|
command = make run-heartbeet
|
||||||
directory = /awx_devel
|
directory = /awx_devel
|
||||||
{% else %}
|
{% else %}
|
||||||
command = awx-manage run_heartbeet
|
command = awx-manage run_heartbeet
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ stdout_events_enabled = true
|
|||||||
stderr_events_enabled = true
|
stderr_events_enabled = true
|
||||||
|
|
||||||
[program:awx-wsrelay]
|
[program:awx-wsrelay]
|
||||||
command = make wsrelay
|
command = make run-wsrelay
|
||||||
autorestart = true
|
autorestart = true
|
||||||
autorestart = true
|
autorestart = true
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
@@ -29,7 +29,7 @@ stdout_events_enabled = true
|
|||||||
stderr_events_enabled = true
|
stderr_events_enabled = true
|
||||||
|
|
||||||
[program:awx-heartbeet]
|
[program:awx-heartbeet]
|
||||||
command = make heartbeet
|
command = make run-heartbeet
|
||||||
autorestart = true
|
autorestart = true
|
||||||
autorestart = true
|
autorestart = true
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
@@ -38,7 +38,7 @@ stdout_events_enabled = true
|
|||||||
stderr_events_enabled = true
|
stderr_events_enabled = true
|
||||||
|
|
||||||
[program:awx-rsyslog-configurer]
|
[program:awx-rsyslog-configurer]
|
||||||
command = make rsyslog-configurer
|
command = make run-rsyslog-configurer
|
||||||
autorestart = true
|
autorestart = true
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
killasgroup=true
|
killasgroup=true
|
||||||
@@ -48,7 +48,7 @@ stderr_logfile=/dev/stderr
|
|||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
|
|
||||||
[program:awx-cache-clear]
|
[program:awx-cache-clear]
|
||||||
command = make cache-clear
|
command = make run-cache-clear
|
||||||
autorestart = true
|
autorestart = true
|
||||||
stopasgroup=true
|
stopasgroup=true
|
||||||
killasgroup=true
|
killasgroup=true
|
||||||
|
|||||||
Reference in New Issue
Block a user