Commit Graph

285 Commits

Author SHA1 Message Date
Usama Sadiq
e90bd04937 build: remove outdated dependency path (#36861) 2025-06-05 18:14:05 +05:00
Feanil Patel
67c0c255ea build: Don't lint the openedx/core/tests folder twice.
It was included in both the openedx-1 and openedx-2 lint suites.
2025-06-02 14:04:22 -04:00
Ivan Niedielnitsev
505b4f466c feat: Models for import_from_modulestore (#36515)
A new application has been created, described in this ADR:
https://github.com/openedx/edx-platform/pull/36545

have been created, as well as related models for mapping original content and
new content created during the import process. Python and Django APIs, as well
as a Django admin interface, will soon follow.
2025-04-17 19:03:46 +00:00
Kyle McCormick
0120179531 build: Switch off deprecated C-Hive NPM cache (#36502)
JS tests are failing because we are using a discontinued GHA caching service:
https://github.blog/changelog/2025-03-20-notification-of-upcoming-breaking-changes-in-github-actions/#decommissioned-cache-service-brownouts

This service is used by the unsupported C-Hive caching action which we are
relying on: https://github.com/c-hive/gha-npm-cache

We are switching to the supported caching mechanims which is provided by
setup-node:
https://github.com/actions/setup-node?tab=readme-ov-file#caching-global-packages-data
2025-04-08 13:00:56 -04:00
Robert Raposa
399be67fc4 style: remove eslint with frontend code removal ADR
- Add ADR for frontend code removal
- Drop eslint, as explained in the ADR
2025-03-20 11:03:41 -04:00
Alexander Dusenbery
f685234b48 feat: upgrade enterprise to 5.10.1, removing braze-client 2025-03-17 12:09:17 -04:00
Emad Rad
7c8781ee9b chore: Clean up workflow YAML files
- Removed unnecessary blank lines in the add-remove-label-on-comment.yml and check_python_dependencies.yml files to improve readability and maintainability.
2025-03-06 10:46:43 -05:00
Kyle McCormick
569c2d9ad2 Revert "fix: Remove pointless Maintenance and Announcement apps (#35852)"
This reverts commit 9274852f2d.
2025-02-19 09:07:57 -05:00
David Ormsbee
2c92c703d7 feat!: remove unused email_marketing app
Quoting the README:

> If you are reading this and the 'Maple' Open edX release is out, you
> can safely delete this whole djangoapp. It only exists to hold old
> model migrations and any post-Maple installation will no longer have
> any model in the database for this app.
>
> But for some minor historical context, this djangoapp used to hold
> some integration with sailthru that we no longer needed.

We've released Sumac. This is overdue.
2025-02-03 11:24:28 -05:00
Usama Sadiq
5f13b5ed30 fix: remove publish-ci-docker-image workflow file (#36164) 2025-01-24 19:58:01 +05:00
Marcos
3bcbcaac2d chore: Removed unused dependency 2025-01-23 15:55:58 -03:00
Hunia Fatima
829f6dbf33 chore: remove dockerfile setup (#35731)
* chore: remove dockerfile setup
2025-01-16 17:46:57 +05:00
Brian Mesick
749b3ebc82 build: Cache images in unit tests (#36110)
Another attempt to stop Dockerhub from rate limiting us in CI. If this
works here, we'll try to add this caching to other relevant workflows.

https://github.com/openedx/axim-engineering/issues/1350#issuecomment-2591237325
2025-01-15 10:05:07 -05:00
Kyle McCormick
290209b1b1 build: Don't fail the build if DockerHub login fails (#36100)
This iterates on https://github.com/openedx/edx-platform/pull/36089, which
logged us into DockerHub during unit tests in order to reduce how often
DockerHub rate-limits us.

Forks will fail to log into DockerHub unless the fork owner configures their
own DockerHub creds. This PR is an attempt to make it so that unit tests don't
fail when DockerHub login fails.
2025-01-10 17:04:41 +00:00
Brian Mesick
042c0441b0 fix: Use correct secret name for dockerhub password 2025-01-09 15:41:21 -05:00
Brian Mesick
18cf33864d build: Log in to dockerhub for unit test CI
We're being rate limited by dockerhub for pulling too many images in CI.
There isn't a greate solution for caching images for GH actions, but in
theory we should have less strict limits as an authenticated user.
2025-01-09 15:36:03 -05:00
Kyle D. McCormick
2d5543a9ae feat!: Remove Paver
BREAKING CHANGE: Removes all remaining Paver commands including
`pavelib/prereqs.py:*` and `pavelib/assets.py:*`.

BREAKING CHANGE: Removes `./manage.py [lms|cms] compile_sass`, which
was just a wrapper around Paver commands.

BREAKING CHANGE: Removes paver.txt. Operators should install testing.txt
instead.

Part of: https://github.com/openedx/edx-platform/issues/34467
2025-01-02 14:05:15 -05:00
Muhammad Anas
0de7569b68 refactor!: remove md4 and related ENABLE_BLAKE2B_HASHING feature flag 2024-12-24 13:12:18 +05:00
Kyle McCormick
39a93766d6 build!: Remove Dockerfile and image building workflows (#36006)
These are not maintained by the Open edX community.

https://github.com/openedx/public-engineering/issues/263
2024-12-16 12:43:43 -05:00
salmannawaz
1573c7b07f build: replace paver quality tests and js commands (#35159) 2024-12-11 19:15:17 +05:00
Bilal Qamar
cbc55da4a0 refactor: updated lockfile version check workflow 2024-12-05 11:21:00 -05:00
Bilal Qamar
9f718613dd feat: updated node to v20 2024-12-05 11:20:57 -05:00
Kyle McCormick
9274852f2d fix: Remove pointless Maintenance and Announcement apps (#35852)
The Studio Maintenance app had two features:

* "Force Course Publish", which literally doesn't do anything. All it
  does is tell you what version *would* be seen by users *if* the course
  were to be published--no publishing actually occurs via this feature.

* "Announcements", which writes to the announcements_announcement
  database table, but doesn't actually display anywhere.

Having these pages in the platform is actively misleading and creates a
maintenance burden for edx-platform developers, so we remove them.

Note that this commit does not include a migration for the announcements
Django app. So, announcements_announcement table will not be deleted.
Given the small expected size of any past-authored announcements, we are
not worried about leaving them in the database perpetually.
2024-11-26 15:15:27 +00:00
Irtaza Akram
ec2a698604 cleanup references of python 2 & <3.11 (#35799)
* chore: cleanup of old python references
2024-11-15 16:58:20 +05:00
Feanil Patel
737b8e99dd build: Test on both the old and new ubuntu version. 2024-11-05 10:44:02 -05:00
Feanil Patel
7c397bf1fc build: Use a re-usable action to setup mongo.
Rather than doing the install ourselves and needing to keep the debion
source URL up-to-date, use a community action to handle installing
mongo.
2024-11-05 10:44:02 -05:00
Feanil Patel
799dcf35ec build: Test on ubuntu 24.04 2024-11-05 10:44:02 -05:00
Muhammad Farhan
a99e915c2e fix: Fix pylint_django_settings plugin (#35497) 2024-10-16 21:32:50 +05:00
Diana Huang
8ee942e411 fix: Pin select jobs to ubuntu 22.04.
Using Ubuntu 24.04 breaks Mongo installation
and some thing involving lxml/xmlsec. We are
going to pin this until we're ready to upgrade both.
2024-10-11 10:58:42 -04:00
Diana Huang
96c682a25b Revert "feat: Use jammy repositories for mongo installation."
This reverts commit a245dec4f4.
2024-10-11 10:58:42 -04:00
Diana Huang
a245dec4f4 feat: Use jammy repositories for mongo installation.
Unclear if there was a change in the focal repositories
or if there was an issue with something else. The noble
repositories don't support 7.0, so we're stuck here
until we upgrade to 8.0.
2024-10-10 15:38:15 -04:00
Maham Akif
c67b6980f6 chore: revert learner pathway skeleton implementation (#30355) 2024-09-30 12:05:17 +05:00
Feanil Patel
1804fbb131 build!: enable md4 for testing.
Operators Note: In newer versions of ubuntu the MD4 hashing algorithm
is disabled by default.  To enable it the openssl config needs to be
updated in a manner similar to what's being done here.  Alternatively,
you can set the `FEATURES['ENABLE_BLAKE2B_HASHING']` setting to `True`
which will switch to a newer hashing algorithm where MD4 was previously
used.

Because this hashing is being used as a part of the edx-platform caching
mechanism, this will effectively clear the cache for the items that use
this hash. The will impact any items where the cache key might have been
too big to store in memcache so it's hard to predict exactly which items
will be impacted.

BREAKING CHANGE: See the operator note above for more details as this
may break for users transitioning from Ubuntu 20.04 to newer versions.
2024-09-23 10:47:49 -04:00
Feanil Patel
e6e5bedf63 fix: Don't start the mongo service.
We stopped using mongo on the runner directly a while ago so this is
just an errant start that should have been removed.
2024-09-23 10:00:14 -04:00
Feanil Patel
d8eef6e347 build: Run mongosh commands within the container.
This is no longer installed by default on ubuntu and so we have to
either manually install it or just run the relevant commands in the
container here it's already available. This lets us do some of the test
setup in a more robust way.
2024-09-23 10:00:14 -04:00
Feanil Patel
872174e28d build: Switch to ubuntu-latest for builds
This code does not have any dependencies that are specific to any specific
version of ubuntu.  So instead of testing on a specific version and then needing
to do work to keep the versions up-to-date, we switch to the ubuntu-latest
target which should be sufficient for testing purposes.

This work is being done as a part of https://github.com/openedx/platform-roadmap/issues/377

closes https://github.com/openedx/edx-platform/issues/35314
2024-09-23 10:00:14 -04:00
Justin Hynes
e4855536fd Revert: revert generic retirement update (#35317)
* Revert "fix: change settings config to empty list not dict"

This reverts commit b65550c796.

* Revert "fix: dependencies again"

This reverts commit c06416bed7.

* Revert "feat: updated user retirement docs"

This reverts commit c9641b35d4.

* Revert "fix: install dependencies"

This reverts commit a5442b2409.

* Revert "Revert "fix: dependencies""

This reverts commit 4cde950007.

* Revert "fix: dependencies"

This reverts commit 8a1c30ebc5.

* Revert "fix: Add CI update for tests"

This reverts commit 64098b6dab.

* Revert "fix: tests"

This reverts commit 5e636dea16.

* Revert "fix: generalize internal services"

This reverts commit e8f9db428d.

* Revert "fix: quality"

This reverts commit 77ca0f754a.

* Revert "feat: Commerce Coordinator step in retirement pipeline"

This reverts commit c24c87499f.
2024-08-15 12:28:52 -04:00
Jade Olivier
a5442b2409 fix: install dependencies 2024-08-14 10:21:24 +02:00
Jade Olivier
64098b6dab fix: Add CI update for tests 2024-08-14 10:21:24 +02:00
Deborah Kaplan
089b34a6bf feat: removing the demographics application stage 2 (#35186)
* removing the application folder
* removing references in all other files

FIXES: APER-3560
2024-07-26 11:13:35 -04:00
Feanil Patel
3f15d1f2ad build: Updating workflow add-remove-label-on-comment.yml.
The .github/workflows/add-remove-label-on-comment.yml workflow is missing or needs an update to stay in
sync with the current standard for this workflow as defined in the
`.github` repo of the `openedx` GitHub org.
2024-07-17 13:41:43 -04:00
Hunia Fatima
41bc954975 fix: replace deprecated github actions 2024-07-02 17:07:17 +05:00
Irtaza Akram
4fa1a4b6b3 fix: github action artifact upload issue 2024-06-25 16:46:10 +05:00
Feanil Patel
8b2e96e200 build: Update .github/workflows/quality-checks.yml
Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-06-18 11:26:09 -04:00
Feanil Patel
4ca4a58dea build: Add node 20 to the test matrix. 2024-06-18 09:57:15 -04:00
Usama Sadiq
f7b6fcb6b4 build: upgrade edxapp docker image to python 3.11 (#34982)
* build: upgrade edxapp docker image to python 3.11
---------

Co-authored-by: Tim McCormack <tmccormack@edx.org>
2024-06-13 21:15:00 +05:00
Feanil Patel
3660503d2d build: Update dispatch workflows to also run with 3.11 2024-06-11 11:30:22 -04:00
Feanil Patel
63ff4966b9 build: Check consistencies with Python 3.11 now. 2024-06-11 11:30:22 -04:00
Kyle McCormick
a3bafb2ccd temp: build: compile python requirements with 3.8, not 3.11 (#34960)
We haven't quite dropped Py3.8 support yet, so we can't use these workflows if
they're compiling with 3.11:

* upgrade-one-python-dependency (upgrading a single, targeted dep)
* compile-python-requirements (recompiling all deps without upgrading)

So, we "downgrade" those workflows to use 3.8, for now. We should revert this
commit when we drop 3.8 support.

Note: The upgrade-python-requirements.yml workflow is still using 3.8, so this
commit will update the other workflows to match that one.
2024-06-10 15:50:06 -04:00
Feanil Patel
39a1369f74 Merge pull request #34549 from salman2013/salman/add-ci-check-python-dependencies
chore: Add github workflow and script to check python depencies source
2024-06-10 09:20:27 -04:00