16 Commits

Author SHA1 Message Date
ravikhetani
c93d2a3e35
fix: service "xqueue-job" depends on undefined service mysql: invalid compose project (#24)
* fix: docker compose error, dependency sql missing, when running with RUN_MYSQL=false

* fix spelling error

---------

Co-authored-by: Ravi Khetani <r.khetani@institute.global>
2023-11-14 18:01:33 -05:00
Jhony Avella
9ab9d85fc5
chore: remove xqueue permissions container
There is now a single "permissions" container that makes all permission changes in Tutor core
2023-07-31 15:35:37 +02:00
Kyle McCormick
dff318bd2e feat: open stdin & allocate tty on dev services
This ensures that services started with `tutor dev start`
are as capable for breakpoint debugging, et al, as services
started with `tutor dev runserver` are. We plan to remove
`tutor dev runserver`.
2022-04-21 14:46:00 +02:00
Régis Behmo
fb9e666814 feat: upgrade to maple 2021-11-15 08:38:52 +01:00
Régis Behmo
029ac27251 feat: support for user-submitted files
Previously, user-uploaded files were stored in the /openedx/xqueue/openedx
folder (considered by django to be a media subfolder). This folder was not
being mounted on the host, thus causing files to be lost on container restart.
Also, files were simply not reported by the `tutor submissions show` utility.

We now bind-mount the media folder from the host. Media assets are served by
uwsgi, which replaced gunicorn.

When object storage is in use, we will have to point xqueue to the remote
storage solution. This means that we need to add patches to the tutor-minio
plugin.

Close #2.
2021-09-02 10:48:12 +02:00
Régis Behmo
3f78025010 refactor: rename xqueue_consumer to xqueue-consumer
This is for consistency with other docker-compose services.
2021-09-02 10:12:48 +02:00
Régis Behmo
6726dc36cc fix: dependency of docker-compose service on mysql
The declaration did not work when RUN_MYSQL was false.
2021-09-02 09:45:06 +02:00
Régis Behmo
970dafe87b Upgrade to Koa 2020-12-09 22:29:07 +01:00
Régis Behmo
52dd830624 Make it possible to override individual docker registry 2020-07-21 09:12:32 +02:00
Régis Behmo
2fab9f3c3a Fix LMS callback url
I did not realize that it was possible to define the callback url from
the LMS. This makes it possible to grade submissions even when running
locally.
2020-05-13 11:16:31 +02:00
Régis Behmo
ece1ab9983 Make xqueue actually do something
Xqueue was mostly broken in the previous releases. In this version, we
address the following issues:

- Proper initialisation by creating the right users
- Shift from 8040 to the more standard 8000 port
- Expose xqueue service on the internet for accessing its API
- Properly define the xqueue name ("openedx")
- Make sure that all logs go to the console
- Add convenient CLI for using the awkward Xqueue API
- Properly document how to use Xqueue
2020-05-05 16:49:38 +02:00
Régis Behmo
721c8d3ced Fix k8s deployment 2020-04-25 23:50:45 +02:00
Régis Behmo
32d3a7603c No need to mount configs in write mode 2020-04-25 23:13:37 +02:00
Régis Behmo
f9f58c209e Compatibility with newer job-running scheme 2020-04-25 23:13:17 +02:00
Régis Behmo
d2cc809f5c Replace mysql-client init by mysql 2019-09-03 10:43:12 +02:00
Régis Behmo
bbc9dfc5d4 🌅 2019-08-21 12:22:46 +02:00