Feanil Patel
799dcf35ec
build: Test on ubuntu 24.04
2024-11-05 10:44:02 -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
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
Hunia Fatima
41bc954975
fix: replace deprecated github actions
2024-07-02 17:07:17 +05:00
Emad Rad
6c5b98087e
chore: cleanup
...
- rst heading definitions
- indirect hyperlinks and code-blocks added for better readability
- MarkDown warnings resolved
- Yaml style issues fixed
2024-06-03 22:18:27 +03:30
Irtaza Akram
e428dd4511
fix: update github actions & remove edx runner
2024-05-30 15:00:30 -04:00
Feanil Patel
4687dae487
build: Drop testing with Mongo 4.4 and Python 3.8
2024-05-14 09:25:18 -04:00
Feanil Patel
325a7b91b2
build: Update more workflows to test on Python 3.11
2024-05-01 10:23:34 -04:00
Daniel Valenzuela
c0aba8a805
build: add MongoDB 7 to the CI ( #34213 )
2024-03-08 18:50:13 +01:00
Muhammad Soban Javed
e40a01c7cc
feat!: upgrade Django version to 4.2 (LTS)
...
This reverts commit 23659d5ba8 .
2024-02-02 17:08:54 +05:00
Usama Sadiq
23659d5ba8
Revert "feat!: upgrade Django version to 4.2 (LTS) ( #34162 )" ( #34165 )
...
This reverts commit 1fc2e8a771 .
2024-02-01 19:29:56 +05:00
Muhammad Soban Javed
1fc2e8a771
feat!: upgrade Django version to 4.2 (LTS) ( #34162 )
...
* feat!: upgrade Django version to 4.2 (LTS)
---------
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com >
2024-02-01 16:10:34 +05:00
Muhammad Soban Javed
790e364097
Revert "chore!: upgrade Django version to 4.2 (LTS)"
2024-01-31 17:14:43 +05:00
Muhammad Soban Javed
67d53dce26
chore!: upgrade Django version to 4.2 (LTS)
...
This reverts commit 6f32d0e6f1 .
2024-01-25 18:17:43 +05:00
Muhammad Soban Javed
6f32d0e6f1
Revert "chore!: upgrade Django version to 4.2 (LTS)" ( #34095 )
2024-01-23 19:07:53 +05:00
Muhammad Soban Javed
fc8e40fb10
chore!: upgrade Django version to 4.2 (LTS) ( #33969 )
...
* chore!: upgrade Django version to 4.2 (LTS)
* feat: Upgrade Python dependency Django
chore!: upgrade Django version to 4.2
Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master`
* chore: Update common.py
* chore: Update common.py
---------
Co-authored-by: Muhammad Soban Javed <iamsobanjaved@gmai.com >
Co-authored-by: iamsobanjaved <iamsobanjaved@users.noreply.github.com >
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2024-01-23 16:53:34 +05:00
dependabot[bot]
75bad83da2
build(deps): bump re-actors/alls-green from 1.2.1 to 1.2.2
...
Bumps [re-actors/alls-green](https://github.com/re-actors/alls-green ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/re-actors/alls-green/releases )
- [Commits](13b4244b31...05ac9388f0 )
---
updated-dependencies:
- dependency-name: re-actors/alls-green
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-10-11 13:11:03 +00:00
Awais Qureshi
5e8decbd8e
test: running django42 tests. ( #33144 )
2023-09-20 11:34:23 -04:00
Usama Sadiq
62e61cc78d
build: add a composite migrations check ( #33292 )
2023-09-20 10:45:37 -04:00
Feanil Patel
c32514a453
test: Test both mysql 5.7 and 8 in one workflow.
...
Now that we're using standard service containers, we can use a matrix to
test both the current supported versions in one job. This should also
make it easier to test with future versions as we get ready to upgrade.
2023-06-12 15:06:15 -04:00
Feanil Patel
640e35e731
test: Change how we test migrations.
...
Use the default settings file and the minimal.yml config to build the
migrations.
2023-06-12 15:06:15 -04:00
dependabot[bot]
9249ea9f0c
build(deps): bump actions/setup-python from 2 to 4 ( #32136 )
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v2...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 18:57:19 +05:00
dependabot[bot]
b054e0d20d
build(deps): bump actions/cache from 2 to 3 ( #32138 )
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 18:56:40 +05:00
Usama Sadiq
0ec7b8cc30
fix: fix make upgrade job and _mysql issue ( #32084 )
...
* fix: upgrade pip & pip-tools versions
* fix: install libmysqlclient-dev system package again
* fix: skip reinstalling mysqlclient package
* fix: add pytz package constraint
---------
Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com >
2023-04-18 18:10:01 +05:00
Tim McCormack
2edbdcf7f4
build: Clear out stale dependencies when installing requirements ( #31080 )
...
We've been seeing some cross-version caching issues in the
edx-platform-runner unit tests, which apparently run on a "dirty"
environment—the virtualenv does not get cleared out between runs,
which probably improves performance but allows installed dependencies
to "leak" between runs. This results in errors between master and older
open-releases but could also prevent us from noticing missing deps.
By using pip-sync in the new CI Make targets (as we already do for
the regular `make requirements` target) we can ensure that any stale
dependencies from runs by other branches (or older versions of the
code) are removed.
Calling `make local-requirements` at the end of each `*-requirements`
target rather than making it a prerequisite is necessary for using sync,
since otherwise the local reqs would be wiped out.
The `requirements` target is also deduplicated into the newer
`dev-requirements` (aliased to it, with both installing private deps now.)
Adding a prerequisite of `pre-requirements` allows us to simplify some
workflow calls slightly. This ends up being the bulk of the commit by
line count. The pip lockfile also wasn't being used in the Makefile, so
I added that to pre-requirements as well.
Also fix leading whitespace issue in Makefile.
2022-10-03 20:26:40 +00:00
UsamaSadiq
897cb3617f
refactor!: delete common/lib and related usages
2022-09-22 14:16:34 +05:00
Awais Qureshi
1156c62014
migrations check mysql8 ( #29784 )
...
* build: Adding migrations check for mysql8.
2022-02-11 18:57:44 +05:00
Awais Qureshi
573c841bf6
test: running migrations on mysql57 on ubuntu20. ( #29770 )
...
* chore: Running migrations check on mysql57 (ubuntu20).
2022-01-19 11:23:07 +05:00
Aarif
76a8aaf6cd
fix: updated the unit tests workflow to simplify job names and read test paths from a separate file ( #29472 )
2021-12-09 18:21:17 +05:00
Aarif
81a642b90d
fix: updated workflows to use v1 for checkout action to fix checkoing out wrong commit on master merge commits ( #29456 )
2021-11-29 21:37:13 +05:00
Ned Batchelder
0f21f1194e
build: use unique names for workflows
...
It's confusing to have six different checks, all called "CI". This
gives them unique names to help devs navigate the checks.
2021-10-21 17:03:33 -04:00
Aarif
b51201beb6
fix: updated the migrations workflow to run on ubuntu 18 so we can run migrations against mysql 5.7 ( #28935 )
2021-10-06 17:46:57 +05:00
M. Zulqarnain
84f7221225
Remove a11y and migrations test ( #28061 )
2021-07-01 13:59:01 +05:00