1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-27 00:55:06 +03:00
awx/tools
Dimitri Savineau b44bb98c7e
Dockerfile: Fix collectstatic command (#15035)
Recent changes in awx and/or django ansible base cause the django
collectstatic command to fail when using an empty settings file.
Instead, use the defaults settings file from controller via
DJANGO_SETTINGS_MODULE=awx.settings.defaults

[linux/amd64 builder 13/13] RUN AWX_SETTINGS_FILE=/dev/null
SKIP_SECRET_KEY_CHECK=yes SKIP_PG_VERSION_CHECK=yes
/var/lib/awx/venv/awx/bin/awx-manage collectstatic --noinput --clear
Traceback (most recent call last):
(...)
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly
configured. Please supply the ENGINE value. Check settings documentation for
more details.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
2024-03-26 14:19:51 -04:00
..
ansible Dockerfile: Fix collectstatic command (#15035) 2024-03-26 14:19:51 -04:00
data_generators awxkit: allow to modify api base url (#14835) 2024-02-07 12:26:42 +01:00
docker-compose Fix keycloak doc (#15024) 2024-03-25 15:01:49 -04:00
docker-compose-minikube Fix missing service account secret in docker-compose-minikube role (#14596) 2023-10-25 19:27:21 +00:00
elastic move license directory out of docs 2022-11-04 11:43:41 -04:00
grafana Add subsystem metrics for the dispatcher (#13989) 2023-05-17 14:29:31 -04:00
redis Consolidate the Local Docker installer and the dev env 2021-02-22 13:44:19 -05:00
rsyslog Fix rsyslog in the dev env by using a local dir volume 2020-05-19 17:00:09 -04:00
scripts awxkit: allow to modify api base url (#14835) 2024-02-07 12:26:42 +01:00
sosreport Update command for sos-report 2024-02-15 12:32:05 +00:00
test Imports prototype from ansible-network-ui 2018-03-23 17:00:14 -04:00
docker-credential-plugins-override.yml Assorted renaming and string changes 2021-04-30 14:32:05 -04:00