Commit Graph

367 Commits

Author SHA1 Message Date
dependabot[bot]
9d524a91f1 build(deps): bump supercharge/mongodb-github-action
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/supercharge/mongodb-github-action/releases)
- [Changelog](https://github.com/supercharge/mongodb-github-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/supercharge/mongodb-github-action/compare/1.11.0...1.12.0)

---
updated-dependencies:
- dependency-name: supercharge/mongodb-github-action
  dependency-version: 1.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-04 19:56:00 +00:00
Feanil Patel
32abbc2763 Update who gets tagged now that Arbi-bom is shutting down. (#37097)
* build: Update places where Arbi-bom was getting tagged.

The arbi-bom team no longer exists and we need to make sure these still
land in a timely manner.  So tag the maintainers to review and merge
these PRs

* build: Drop unnecessary common_constraint overrides.

These are no longer necessary now that
https://github.com/openedx/edx-lint/pull/500 has landed.
2025-08-02 07:42:18 +00:00
Kyle McCormick
8485b2f353 docs: Update codeowners to use normal CC teams (#37098)
See https://github.com/openedx/axim-engineering/issues/1511

Referenced teams:

https://github.com/orgs/openedx/teams/committers-edx-platform-2u-infinity/members
https://github.com/orgs/openedx/teams/committers-edx-platform-2u-aperture/members
https://github.com/orgs/openedx/teams/committers-edx-platform-2u-tnl/members
2025-07-31 14:04:03 -04:00
Taylor Payne
a98dd3f748 refactor: move explicitly shared settings into new common module 2025-07-21 08:08:34 -04:00
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
Kyle McCormick
363f0fc1b4 build: Ping Feanil and Kyle when github.in is changed (#36330) 2025-03-06 11:23:07 -05: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
renovate[bot]
0e9fb5d845 chore(config): migrate config .github/renovate.json5 2025-02-20 18:16:32 +00: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
Feanil Patel
3075066b23 build: Start watching the production.py files.
We want to make sure that changes to these align to the new refactors
we're doing so get tagged on changes to these files.
2025-02-05 13:40:14 -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
25536bbc36 fix: downgrade karma-spec-reporter to fix JS test logging (#35954)
The karma-spec-reporter npm package is a Karma plugin which tells Karma to
print the name of each spec (e.g. test case). This is extremely useful
as a maintainer to be able to visually inspect the CI logs and confirm
that we are actually running JS tests and not just giving
false-positives.

We are stuck on an ancient Karma version (0.13.22, lastest is 6.x),
which seems to be incompatible with the latest karma-spec-reporter version
(0.0.36). Since upgrading karma-spec-reporter, spec name printing has
failed with:

    02 12 2024 20:59:28.164:WARN [plugin]: Error during loading "karma-spec-reporter" plugin:
      Cannot read properties of undefined (reading 'LOG_PRIORITIES')

Downgrading to karma-spec-reporter@0.0.20 eliminates this error and
restoring spec name printing to our JS CI logs.
2024-12-03 19:05:14 +00:00
ayesha waris
3a11680dc1 fix: add infinity to code owners (#35937) 2024-12-02 18:46:38 +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
Deborah Kaplan
f1a9286f73 chore: changing codeowners for several components (#35574)
making sure the codeowners for some maintainership is accurate.
2024-10-09 09:45:05 -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
Maxwell Frank
1a92009bd2 chore: Aperture code ownership update 2024-09-23 09:03:41 -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