6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-09 00:21:11 +00:00
Commit Graph

2038 Commits

Author SHA1 Message Date
Régis Behmo
b169f6969b chore: upgrade requirements
We take the opportunity to drop the constraint on docutils.
2024-11-25 11:07:28 +01:00
Cristhian Garcia
e6bbd25cc2
feat: add two filters to customise celery workers command 2024-11-22 14:47:18 +01:00
Florian Haas
8c7996c278 fix: When pushing images to registry cache, use image-manifest=true
Without this change, when building images with --cache-to-registry,
BuildKit uses a proprietary cache artifact format, which breaks
when using third-party registries such as Harbor or ECR.

By adding the image-manifest=true option, BuildKit uses an
OCI-compliant cache artifact format that should be compatible with all
registries. This option requires BuildKit 0.12 or later (check with
"docker buildx ls").

See https://github.com/goharbor/harbor/issues/18941 and
https://github.com/moby/buildkit/issues/2251 for background
information.

Co-authored-by: Andrés González <andres@aulasneo.com>

Fixes #1118.
2024-11-21 09:22:53 +01:00
Syed Muhammad Dawoud Sheraz Ali
a666732f1a
chore: remove Python 3.8 references (#1150) 2024-11-14 16:48:58 +05:00
Régis Behmo
70424149e9 feat: don't prompt for env deletion on tutor config save -i
The introduction of the `-c/--clean` option caused the deletion prompt
to be displayed for every call to `tutor config save --interactive`.
This is not the desired behaviour, as decided here:
https://github.com/overhangio/tutor/pull/1086#discussion_r1681744804

With this change, the prompt is only displayed when running: `tutor
config save --interactive --clean`. The environment is still deleted on
`tutor config save --clean`, but without prompt.

We refactored the code with hooks, which simplifies the signature of the
interactive prompt function.
2024-11-01 10:02:35 +01:00
Danyal Faheem
e2786afa58
fix: upgrade MySQL from 5.7 to 8.1 first and then to 8.4 (#1149)
* fix: upgrade MySQL from 5.7 to 8.1 first and then to 8.4
This is required when upgrading from Tutor v15 to v18 directly
MySQL does not allow direct upgrades from v5.7 to v8.4

* fix: run MySQL 8.1 as a separate container during upgrade from Olive to Redwood (#1140)
We do this because MySQL 8.1 does not have the --mysql-native-password option
We have this option turned on for backward compatibility
2024-10-30 17:00:48 +05:00
Emad Rad
dbb91cb38f docs: wrong Youtube URL fixed 2024-10-29 09:50:36 +01:00
Syed Muhammad Dawoud Sheraz Ali
7d93cc3b3c
feat: v18.1.4 (#1147) 2024-10-24 16:11:21 +05:00
Syed Muhammad Dawoud Sheraz Ali
0dbb12c820
feat: upgrade to redwood.3 (#1146) 2024-10-24 15:13:50 +05:00
Emad Rad
2440970c58
fix: site name limited to 50 characters (#1145)
Before this, building organizations with longer URLs failed since the
name field inside Site model has a max_length=50

Close #1144
2024-10-24 11:11:31 +05:00
Emad Rad
97e9fa4751
docs: k8s dry run section added (#1142) 2024-10-21 12:23:42 +05:00
Régis Behmo
9e5a87bea7 docs: update social links
Nope, we are not on Twitter (or X). And the youtube channel was renamed.
2024-10-15 15:52:21 +02:00
Emad Rad
d0187e9cc9
chore: fixed typos (#1137) 2024-10-14 21:38:21 +05:00
Régis Behmo
2d0600cc2c docs: minor link issue in the atlas config 2024-10-11 10:34:38 +02:00
Régis Behmo
14e5100401 feat: do not run celery workers in development
In development, edx-platform runs with CELERY_ALWAYS_EAGER=True, which
means that lms-worker and cms-worker never catch celery tasks!

This change was heavily inspired by: https://github.com/overhangio/tutor/pull/1041
2024-10-08 08:11:40 +02:00
Régis Behmo
1b6d0357aa chore: upgrade cryptography package
See https://github.com/overhangio/tutor/security/dependabot/55
2024-10-01 09:45:48 +02:00
Régis Behmo
c28a4b9eb8 docs: fix broken links to overhang.io 2024-10-01 09:38:21 +02:00
Kaustav Banerjee
eb0f66429b chore: add missing requirement 2024-09-27 11:41:40 +02:00
Maria Fernanda Magallanes Zubillaga
0a6516681b docs: add tutor compatibility notes 2024-09-24 09:22:41 +02:00
Cristhian Garcia
47873acec2
fix: uwsgi closed connection 2024-09-23 16:03:48 +02:00
Régis Behmo
2959e6eec2 feat: add patches show ... command
I found myself in a situation where I wasn't sure if a patch was
correctly added by the Indigo plugin. To troubleshoot that issue, I
wanted to print that rendered patch. I thought it would make a nice
addition to the CLI.
2024-09-19 12:15:41 +02:00
Emad Rad
46b401690c
feat: cleanup flag (#1086)
This will add a `-c` / `--clean` flag to the save command and ensure that the env directory is deleted if it exists.

Close https://github.com/overhangio/tutor/issues/967
2024-08-27 18:19:52 -04:00
Kyle McCormick
6cdedddd22
feat: set EDXAPP_TEST_MONGO_HOST=mongodb in openedx-dev (#1083)
Currently, we are asking devs to set this env var manually before they run tests.
We may as well save them some keystrokes by setting it in the dev image
programmatically.
2024-08-27 14:19:26 -04:00
Régis Behmo
eccb4d182e
chore: upgrade zipp, urllib3, certifi reqs (#1107)
This is to address a few vulnerabilities in these libraries:

https://github.com/overhangio/tutor/security/dependabot/54
https://github.com/overhangio/tutor/security/dependabot/53
https://github.com/overhangio/tutor/security/dependabot/48
https://github.com/overhangio/tutor/security/dependabot/46
https://github.com/overhangio/tutor/security/dependabot/52
https://github.com/overhangio/tutor/security/dependabot/51
https://github.com/overhangio/tutor/security/dependabot/49
https://github.com/overhangio/tutor/security/dependabot/47
https://github.com/overhangio/tutor/security/dependabot/50
2024-08-20 12:29:51 +05:00
Syed Muhammad Dawoud Sheraz Ali
3143335d69 v18.1.3 2024-08-13 09:31:09 +02:00
Syed Muhammad Dawoud Sheraz Ali
354dfc654d feat: update to redwood.2 2024-08-13 08:57:58 +02:00
Régis Behmo
8aed2251fd docs: warning message indentation in upgrade
The warning message printed during `tutor local upgrade` was incorrectly
indented.
2024-08-08 09:09:18 +02:00
Syed Muhammad Dawoud Sheraz Ali
a97a7b0abd
refactor: move uswgi out of platform directory (#1036) 2024-07-30 16:39:41 +05:00
Syed Muhammad Dawoud Sheraz Ali
b25937658d v18.1.2 2024-07-30 09:06:58 +02:00
Régis Behmo
1c5d54a7de
docs: fix mysql version on RUN_MYSQL=false (#1104) 2024-07-30 10:35:50 +05:00
Syed Muhammad Dawoud Sheraz Ali
6549442c0b
security: add upstream security patch in Open edX image (#1100) 2024-07-26 18:03:28 +05:00
Hina Khadim
01d078c284
chore: add docs link in the troubleshooting section (#1092) 2024-07-15 16:43:44 +05:00
Syed Muhammad Dawoud Sheraz Ali
ff0f626e13
build: update macos runner for release.yml (#1093) 2024-07-11 18:09:29 +05:00
Syed Muhammad Dawoud Sheraz Ali
cbd20d3ef8
v18.1.1 (#1091) 2024-07-04 12:15:58 +05:00
Danyal Faheem
08549141e2
fix: add turn on mysql-native-password authentication plugin to fix broken connection for users upgrading from Tutor 15 or earlier (#1090)
* fix: add --mysql-native-password=ON param to fix broken connection, fixes #1089
For tutor instances that were created with tutor 15 and earlier and then upgraded to tutor 18, the launch process would fail as MySQL connection could not be made. This is because mysql-native-password was removed in MySQL 8.4.0. We turn it on temporarily to fix failing connections.
2024-07-04 11:32:53 +05:00
Régis Behmo
dce1138d65 v18.1.0 2024-06-25 17:50:11 +02:00
Illia Shestakov
c8ce86b979 fix: do not fail on start when there are no persistent volume claims
Persistent volume claims are being created alongside with other objects
to acheive that.
2024-06-25 17:48:07 +02:00
Danyal Faheem
c4fd3062f0
feat!: upgrade default mysql charset and collation to utf8mb4 2024-06-25 15:01:58 +02:00
Régis Behmo
d9a2c24d34 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:23:51 +02:00
Régis Behmo
617a2a8e61
Merge pull request #1059 from overhangio/redwood
Upgrade to Redwood
2024-06-19 23:01:18 +02:00
DawoudSheraz
0ba4a22786 v18.0.0 upgrade to redwood 2024-06-19 22:56:13 +02:00
Overhang.IO
a6b0b68602 Merge remote-tracking branch 'origin/master' into nightly 2024-06-13 08:56:43 +00:00
Syed Muhammad Dawoud Sheraz Ali
ad6045db75 v17.0.6 2024-06-13 10:18:45 +02:00
Régis Behmo
fc29241446 feat: cache edx-platform checkout in image build
Similar to what we need with the MFE image, we leverage Docker's ADD
directive to implement caching of the edx-platform git checkout step.

See: https://github.com/overhangio/tutor-mfe/pull/163
https://docs.docker.com/reference/dockerfile/#add
2024-06-10 18:07:28 +02:00
Overhang.IO
41330ce448 Merge remote-tracking branch 'origin/master' into nightly 2024-06-10 15:35:46 +00:00
Régis Behmo
eb0660a55a chore: upgrade jinja2,black,requests,idna,cryptography
Address several security issues raised by Dependabot.
2024-06-10 17:19:42 +02:00
Overhang.IO
62108906d3 Merge remote-tracking branch 'origin/master' into nightly 2024-06-10 13:49:43 +00:00
Régis Behmo
a53f916382 docs: improvements to the "troubleshooting" page
I tried to remove as many "you" pronouns as possible. Also, clarify
instructions on the "images build" resource issue.
2024-06-10 15:39:06 +02:00
Danyal Faheem
f4b500321d
fix: run permissions for windows with HOST_USER_ID or 1000 (#1074) 2024-06-10 17:44:11 +05:00
rohan-saeed
3d5e8fa455
feat!: upgrade mysql to 8.4.0 (#1071) 2024-06-07 18:14:53 +05:00