From f49dd0dc1a24acb925518d24b1a49a439bb5fe9a Mon Sep 17 00:00:00 2001 From: Tim Hagen Date: Fri, 13 Sep 2024 14:41:29 +0200 Subject: [PATCH] automatic migration; extended configuration via environment variables; fixed a bug in Tasks.vue --- application/Dockerfile.prod | 2 +- .../config/tira-application-config.yml | 12 ++++----- application/pyproject.toml | 6 +++++ application/setup.cfg | 2 ++ application/src/django_admin/settings.py | 25 ++++++++++--------- application/src/django_admin/wsgi.py | 4 +++ application/test/settings_test.py | 23 +++++++++-------- frontend/src/Tasks.vue | 6 ++--- python-client/Makefile | 4 --- 9 files changed, 48 insertions(+), 36 deletions(-) diff --git a/application/Dockerfile.prod b/application/Dockerfile.prod index d2014e9f..5d6d99cf 100644 --- a/application/Dockerfile.prod +++ b/application/Dockerfile.prod @@ -51,7 +51,7 @@ RUN < - + - +

Choose a Task

@@ -101,7 +101,7 @@ export default { { title: 'Subs', key: 'software_count' }, { text: 'Description', value: 'data-table-expand' }, ], - task_list: [] as Task[], + task_list: undefined as (Task[] | undefined), } }, methods: { diff --git a/python-client/Makefile b/python-client/Makefile index cac83155..0a880c4a 100644 --- a/python-client/Makefile +++ b/python-client/Makefile @@ -9,7 +9,3 @@ run-tests: docker run -u root --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/app -w /app --entrypoint pytest webis/tira:python-client-dev-0.0.5 docker run -u root --rm -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/app -w /app --entrypoint pytest webis/tira:python-client-dev-0.0.5-python3.7 docker run -u root --rm -v /var/run/docker.sock:/run/user/0/podman/podman.sock -v ${PWD}:/app -w /app --entrypoint pytest webis/tira:python-client-dev-0.0.5-python3.7 - -docs: - docker run --rm -ti -v ${PWD}:/app -w /app webis/tira:python-client-dev-0.0.3 bash -c \ - 'sphinx-apidoc -o docs tira/ && cd docs && make html'