28 Commits

Author SHA1 Message Date
jfavellar90
7348ff81d3 feat: upgrade to teak 2025-04-04 14:10:01 -05:00
Jhony Avella
86abc64404
Ubuntu 24.04 Upgrade (#33)
* chore: xqueue service now uses ubuntu 24.04 as base image

* chore: using 1000 UID. Updating setuptools

* chore: adding changelog entry
2024-10-22 16:08:39 -05:00
Régis Behmo
f0ac92b85b fix: docker build deprecation warnings
With the latest Docker upgrade, we got the following warnings during
build:

	FromAsCasing: 'as' and 'FROM' keywords' casing do not match
	LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format
2024-06-21 17:12:57 +02:00
Jhony Avella
5db7addac8
feat: adding Python 3.12 support for Xqueue (#30) 2024-05-03 09:00:16 -05:00
jfavellar90
7f09751e8f chore: addressing comments 2023-12-11 18:12:10 +01:00
jfavellar90
8703186cef feat: upgrade to Quince 2023-12-09 17:43:42 +01:00
Régis Behmo
18a6d5bc39
fix: add missing pkg-config package (#26)
Build fails in nightly with the following error:

	#28 5.503   × Getting requirements to build wheel did not run
	    successfully.
	#28 5.503   │ exit code: 1
	#28 5.503   ╰─> [24 lines of output]
	#28 5.503       /bin/sh: 1: pkg-config: not found
	#28 5.503       /bin/sh: 1: pkg-config: not found
	#28 5.503       Trying pkg-config --exists mysqlclient
	#28 5.503       Command 'pkg-config --exists mysqlclient' returned
	    non-zero exit status 127.
	#28 5.503       Trying pkg-config --exists mariadb
	#28 5.503       Command 'pkg-config --exists mariadb' returned non-zero
	    exit status 127.
	#28 5.503       Traceback (most recent call last):
	#28 5.503         File
	    "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 353, in <module>
	#28 5.503           main()
	#28 5.503         File
	    "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 335, in main
	#28 5.503           json_out['return_val'] =
	    hook(**hook_input['kwargs'])
	#28 5.503         File
	    "/openedx/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 118, in get_requires_for_build_wheel
	#28 5.503           return hook(config_settings)
	#28 5.503         File
	    "/tmp/pip-build-env-58chejnv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 355, in get_requires_for_build_wheel
	#28 5.503           return self._get_build_requires(config_settings,
	    requirements=['wheel'])
	#28 5.503         File
	    "/tmp/pip-build-env-58chejnv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 325, in _get_build_requires
	#28 5.503           self.run_setup()
	#28 5.503         File
	    "/tmp/pip-build-env-58chejnv/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 341, in run_setup
	#28 5.503           exec(code, locals())
	#28 5.503         File "<string>", line 154, in <module>
	#28 5.503         File "<string>", line 48, in get_config_posix
	#28 5.503         File "<string>", line 27, in find_package_name
	#28 5.503       Exception: Can not find valid pkg-config name.
	#28 5.503       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env
	    vars manuallY
2023-11-21 06:39:16 -05:00
Jhony Avella
8448e2ba2f
feat: upgrade to Palm 2023-06-15 01:04:59 +02: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
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
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
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
7430c4b0ae fix: 'ln' error in image building
'/usr/bin/pip' now exists in ubuntu:20.04.
2021-06-07 10:13:25 +02: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
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
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
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