53 Commits

Author SHA1 Message Date
Régis Behmo
f88afe05c3 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-24 08:25:02 +01:00
Régis Behmo
cb08b63217
fix: add missing pkg-config package (#30)
Build fails in nightly with the following error:

	#27 4.029   × Getting requirements to build wheel did not run
	    successfully.
	#27 4.029   │ exit code: 1
	#27 4.029   ╰─> [24 lines of output]
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       /bin/sh: 1: pkg-config: not found
	#27 4.029       Trying pkg-config --exists mysqlclient
	#27 4.029       Command 'pkg-config --exists mysqlclient' returned
	    non-zero exit status 127.
	#27 4.029       Trying pkg-config --exists mariadb
	#27 4.029       Command 'pkg-config --exists mariadb' returned non-zero
	    exit status 127.
	#27 4.029       Traceback (most recent call last):
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 353, in <module>
	#27 4.029           main()
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 335, in main
	#27 4.029           json_out['return_val'] =
	    hook(**hook_input['kwargs'])
	#27 4.029         File
	    "/app/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
	line 118, in get_requires_for_build_wheel
	#27 4.029           return hook(config_settings)
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 355, in get_requires_for_build_wheel
	#27 4.029           return self._get_build_requires(config_settings,
	    requirements=['wheel'])
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 325, in _get_build_requires
	#27 4.029           self.run_setup()
	#27 4.029         File
	    "/tmp/pip-build-env-td0z_pds/overlay/lib/python3.8/site-packages/setuptools/build_meta.py",
	line 341, in run_setup
	#27 4.029           exec(code, locals())
	#27 4.029         File "<string>", line 154, in <module>
	#27 4.029         File "<string>", line 48, in get_config_posix
	#27 4.029         File "<string>", line 27, in find_package_name
	#27 4.029       Exception: Can not find valid pkg-config name.
	#27 4.029       Specify MYSQLCLIENT_CFLAGS and MYSQLCLIENT_LDFLAGS env
	    vars manually
2023-11-21 06:40:11 -05:00
Overhang.IO
0768eafd7e Merge remote-tracking branch 'origin/master' into nightly 2023-11-15 00:23:49 +00:00
jfavellar90
43af20751e v16.0.2 2023-11-14 19:19:45 -05:00
Régis Behmo
56696de37f 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
Régis Behmo
f8c28346a5 Merge branch 'master' into nightly 2023-08-09 10:35:26 +02:00
jfavellar90
73b0e10df0 v16.0.1 2023-08-04 08:14:55 -05:00
Overhang.IO
0093976541 Merge remote-tracking branch 'origin/master' into nightly 2023-07-31 13:39:25 +00:00
Jhony Avella
fcffe6f3ed
chore: remove notes permissions container. (#24)
chore: remove notes permissions container

There is now a single "permissions" container that makes all permission changes in Tutor core
2023-07-31 15:34:52 +02:00
Régis Behmo
581f986729 Merge branch 'master' into nightly 2023-06-15 01:09:31 +02:00
Jhony Avella
702e029d55
feat: upgrade to Palm 2023-06-15 01:03:44 +02:00
Régis Behmo
a7ad3758b5 fix: nightly package version
The package version number may not include the "-nightly" suffix.
Otherwise, installation fails with:

   setuptools.extern.packaging.version.InvalidVersion: Invalid version: '15.0.7-nightly'
2023-05-26 18:47:48 +02:00
Régis Behmo
5d6580c82b feat: label nightly version
This is to address https://github.com/overhangio/tutor-mfe/issues/122
As a consequence of this change, images will be tagged with a "-nightly"
suffix. Next, we'll probably have to build them periodically in CI.
2023-05-26 18:26:28 +02:00
Régis Behmo
f38f473fd4 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
Jhony Avella
490aad8a53 v15.0.4 2023-04-13 10:39:37 -05:00
Navin Karkera
d55b36e6b7 fix: build elasticsearch index during initialization
The elasticsearch index needs to be created on initialization else notes
search functionality does not work.
2023-04-13 15:30:31 +02:00
Jhony Avella
59ac93a9a9 v15.0.3 2023-03-20 13:05:51 -05:00
Régis Behmo
709ca5c4d0 v15.0.2 2023-02-28 09:37:03 +01:00
Jhony Avella
527c3e9738
feat: allowing customization of notes repo and version 2023-02-28 09:36:13 +01:00
Jhony Avella
2115016847 v15.0.1 2023-02-24 09:13:01 -05:00
Navin Karkera
9b8f299956
fix: internal api port number (#20) 2023-02-24 09:06:49 -05:00
Jhony Avella
2a9078b592 feat: upgrade to Olive 2022-12-12 18:55:13 +01:00
Régis Behmo
940eb660c3 v14.0.1 2022-10-03 14:24:29 +02:00
Andrés González
58b38037a1 fix: specify elasticsearch scheme
Add ELASTICSEARCH_SCHEME in ELASTICSEARCH_DSL to avoid an error
when ES is implemented with SSL
2022-10-03 13:48:27 +02:00
Carlos Muniz
19fef3d2d4
feat: add COMPOSE_MOUNTS for edx-notes-api
Co-authored-by: Carlos Muniz <cmuniz@trcil.org>
2022-07-25 20:31:10 +02:00
Régis Behmo
47c90a8409 feat: upgrade to nutmeg 2022-06-09 20:11:30 +02:00
Kyle McCormick
5f24df5177 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:59 +02:00
Gabor Boros
6625efcf60 fix: support mysql8 syntax
Signed-off-by: Gabor Boros <gabor.brs@gmail.com>
2022-04-15 10:42:48 +02:00
Régis Behmo
62cdd4d45e v13.0.1 2022-03-10 19:17:29 +01:00
Régis Behmo
24f2179c78 fix: actually enable student notes in the lms/cms!
I have no idea why this patch was removed in the first place...

See:
https://discuss.overhang.io/t/enable-student-notes-not-visible/2489
2022-03-10 19:14:12 +01:00
Régis Behmo
29218141d7 feat: upgrade to Maple 2021-11-30 12:39:24 +01:00
Régis Behmo
283890555b fix: tutor-openedx was renamed to tutor 2021-07-06 10:35:03 +02:00
Gonzalo
7ffb297dcd Upgrade notes plugin to lilac release 2021-06-07 18:11:35 +02:00
Régis Behmo
3803c37d7e fix: 'ln' error on image building
'/usr/bin/pip' now exists in ubuntu:20.04.
2021-06-07 10:13:16 +02:00
Régis Behmo
fe92a88234 Upgrade to Koa 2020-12-09 22:28:15 +01:00
Régis Behmo
45141e00c3 Take advantage of automatically defined openedx version 2020-09-17 10:56:51 +02:00
Régis Behmo
6dc0fa8696 Upgrade to juniper.3 2020-08-27 17:43:23 +02:00
Régis Behmo
e397eca489 Release v10.1.2 2020-08-20 09:53:38 +02:00
Fitsum Teklehaimanot
811c0c23c4 Depndency on mysql can be controlled by ACTIVATE_MYSQL
This was recently fixed in tutor by
https://github.com/overhangio/tutor/pull/359. This PR maintains parity.
2020-08-20 09:53:04 +02:00
Luca Chamecki Granato
d805f83a92 Fix lms environment configuration 2020-08-02 16:47:36 +02:00
Régis Behmo
c8dc0218dd Make it possible to override individual docker registry 2020-07-21 09:11:04 +02:00
Régis Behmo
96e2fd4302 Upgrade to juniper.2 2020-07-16 11:26:06 +02:00
Régis Behmo
8e63a6ac37 Upgrade to juniper 2020-06-15 10:41:34 +02:00
Régis Behmo
b6f9147a34 Customize mysql root username 2020-06-01 17:23:34 +02:00
Régis Behmo
beee28c539 Fix k8s deployment 2020-04-25 23:54:29 +02:00
Régis Behmo
6e3278c44f Compatibility with newer job-running scheme 2020-04-25 23:24:42 +02:00
Régis Behmo
d336448c7b v0.1.5 2020-04-07 14:20:55 +02:00
Régis Behmo
5c68e72d36 Fix image building with custom registry 2020-04-07 14:20:27 +02:00
Régis Behmo
d434f8f061 Explicitely point to docker.io images 2020-01-10 17:21:56 +01:00
Régis Behmo
b61b1fdc63 Get rid of mysql strict trans mode warnings 2019-10-07 17:10:38 +02:00