48 Commits

Author SHA1 Message Date
Régis Behmo
7317758ca9 feat: simplify nightly version management
By pulling the version suffix from tutor, we avoid git conflicts when
merging the release branch in nightly.
2023-11-20 17:39:46 +01:00
jfavellar90
84ceed2f92 v16.0.2 2023-11-14 18:03:59 -05:00
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
Régis Behmo
5da7bd3278 fix: nightly package version
The package version may not include the "-nightly" suffix. Otherwise,
`pip install .` fails with:

    setuptools.extern.packaging.version.InvalidVersion: Invalid version: '...-nightly'
2023-09-07 18:39:53 +02:00
Emad Rad
9e1296b6bd
docs: typos
* chore: wrong plugin name fixed
* chore: square characters replaced with "→"
2023-08-14 16:24:05 +02:00
jfavellar90
18f202e593 v16.0.1 2023-08-04 08:16:30 -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
Jhony Avella
8448e2ba2f
feat: upgrade to Palm 2023-06-15 01:04:59 +02:00
Régis Behmo
ee1ade376a chore: handle nightly version numbers
Here, we make it possible to add a "-nightly" suffix to the package
version. This suffix will find its way to the Docker image tags. Thus,
the nightly branch will have different image tags. This will resolve
some confusion, as image tags are currently identical in nightly and
master.
2023-05-26 16:28:10 +02:00
Régis Behmo
8411ceef4f v15.0.1 2023-03-19 15:37:26 +01:00
Daniel Herrmann
04de8bcf67 Fix broken media download
The static map used with uwsgi was referencing the wrong media directory, such that downloads of media files did not work correctly.
2023-03-19 15:32:30 +01:00
Moisés Arévalo
7f66739ccd feat: updated to work with tutor olive 2022-12-12 18:55:56 +01:00
Carlos Muniz
4ac2ae8d59 feat: add COMPOSE_MOUNTS for xqueue
A `COMPOSE_MOUNTS` function has been added to easily mount
`xqueue` to `/openedx/xqueue`
2022-07-20 16:08:45 -04:00
GonzaloRomero
63fd458c8d feat: add name argument to click group 2022-06-09 21:44:13 +02:00
GonzaloRomero
0101e9dbab feat: Add CLI_COMMAND filter 2022-06-09 21:44:13 +02:00
GonzaloRomero
ea3fbafcaf feat: upgrade to nutmeg 2022-06-09 21:44:13 +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
Gabor Boros
cf7b593f76 fix: support mysql8 syntax
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-04-15 10:45:09 +02:00
Régis Behmo
fb9e666814 feat: upgrade to maple 2021-11-15 08:38:52 +01:00
Régis Behmo
2109828bbf v12.1.0 2021-09-02 10:48:12 +02: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
f2912e69da Upgrade to lilac 2021-06-07 14:40:00 +02:00
Régis Behmo
7430c4b0ae fix: 'ln' error in image building
'/usr/bin/pip' now exists in ubuntu:20.04.
2021-06-07 10:13:25 +02:00
Régis Behmo
f9763b138f v11.0.1 2021-01-07 15:22:07 +01:00
Oleg Demakov
494d82f7b7 Add patch in the service config file to be able to redefine any settings 2021-01-07 15:19:52 +01:00
Régis Behmo
970dafe87b Upgrade to Koa 2020-12-09 22:29:07 +01:00
Régis Behmo
cb31ddfc3c Take advantage of automatically defined openedx version 2020-09-17 10:57:13 +02:00
Régis Behmo
e60428ae22 Upgrade to juniper.3 2020-08-27 17:43:11 +02:00
Régis Behmo
52dd830624 Make it possible to override individual docker registry 2020-07-21 09:12:32 +02:00
Régis Behmo
dbabdabe32 Upgrade to juniper.2 2020-07-16 11:26:20 +02:00
Régis Behmo
fd5b8b082a Upgrade to juniper 2020-06-15 11:06:39 +02:00
Régis Behmo
62b2407457 Customize mysql root username 2020-06-01 17:26:12 +02:00
Régis Behmo
141fc8bdf1 Make it possible to define xqueue url from env var 2020-05-13 11:21:37 +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
886ae671a0 Fix submission client when no host is passed to the cli 2020-05-13 10:29:29 +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
273dcfb948 v0.1.5 2020-04-25 23:14:31 +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
4f8add79d2 v0.1.4 2020-04-07 14:27:59 +02:00
Régis Behmo
629c7be558 Fix image building with custom registry 2020-04-07 14:27:45 +02:00
Régis Behmo
290aea0c65 Explicitely point to docker.io images 2020-01-10 17:21:34 +01:00
Régis Behmo
9b6ddff29f Get rid of mysql strict trans mode warnings 2019-10-07 17:11:18 +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