Commit Graph

249 Commits

Author SHA1 Message Date
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
salman2013
35f6f5041d fix: code improvement as per PR reivew comment 2024-06-10 17:10:05 +05:00
salman2013
6a526bb1d7 fix: fix test cases 2024-06-10 16:56:52 +05:00
salman2013
7ecf49e8ca fix: fix the comments as per PR review 2024-06-10 16:49:01 +05:00
Kyle McCormick
88a6855255 test: cancel old unit tests when a new PR commit is pushed (#34909)
Based on: 
* https://docs.github.com/en/actions/using-jobs/using-concurrency#example-using-concurrency-and-the-default-behavior
* https://stackoverflow.com/questions/68418857/how-to-cancel-existing-runs-when-a-new-push-happens-on-github-actions-but-only
2024-06-05 08:26:04 -04:00
salman2013
87a7e879ae chore: add workflow to find dependencies 2024-06-05 17:04:57 +05:00
Kyle McCormick
b063dfc1ea test: always run aggregate unit test check (#34903)
When a shard of unit-tests.yml fails, we want the `success` job to be
maked "Failed" (not "Skipped"). That's because "Failed" blocks the PR
from merging, whereas "Skipped" does not. This change ensures that
`success` always runs to completion rather than being cancelled as soon
as a unit test shard fails or is cancelled.

From https://github.com/marketplace/actions/alls-green#options:

> Important: For this to work properly, it is a must to have the job always run,
> otherwise GitHub will make it skipped when any of the dependencies fail. In
> some contexts, skipped is interpreted as success which may lead to undersired,
> unobvious and even dangerous (as in security breach "dangerous") side-effects.

Closes https://github.com/openedx/edx-platform/issues/34789
2024-06-04 10:15:51 -04: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
11e8b8ba90 fix: verify-and-collect issues 2024-05-30 15:00:49 -04:00
Irtaza Akram
c22fbec6a9 fix: move collect-and-verify to unit-tests.yml 2024-05-30 15:00:49 -04:00
Irtaza Akram
b3185ffe7b fix: env for runner 2024-05-30 15:00:49 -04:00
Irtaza Akram
2506d9373a fix: test runner 2024-05-30 15:00:49 -04:00
Irtaza Akram
99248ae992 fix: review changes 2024-05-30 15:00:49 -04:00
Irtaza Akram
5a46a3aa0f fix: tests on forks 2024-05-30 15:00:49 -04:00
Irtaza Akram
6b5f11a79b fix: merged gh-hosted into gha 2024-05-30 15:00:47 -04:00
Irtaza Akram
a6755edcbb fix: remove sudo for pip specific commands 2024-05-30 15:00:33 -04:00
Irtaza Akram
f6f75b428c fix: lynx dependency 2024-05-30 15:00:33 -04:00
Irtaza Akram
e428dd4511 fix: update github actions & remove edx runner 2024-05-30 15:00:30 -04:00
Feanil Patel
f12cd32fce Merge pull request #34858 from openedx/dependabot/github_actions/supercharge/mongodb-github-action-1.11.0
build(deps): bump supercharge/mongodb-github-action from 1.7.0 to 1.11.0
2024-05-30 14:53:02 -04:00
Feanil Patel
4085066fea Merge pull request #34417 from qasimgulzar/qasim/DEPR/git-issue-34342
[DEPR]: Remove Neo4J Support #34342
2024-05-28 10:25:33 -04:00
dependabot[bot]
36da5283c2 build(deps): bump supercharge/mongodb-github-action from 1.7.0 to 1.11.0
Bumps [supercharge/mongodb-github-action](https://github.com/supercharge/mongodb-github-action) from 1.7.0 to 1.11.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.7.0...1.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 04:58:12 +00:00
Kyle McCormick
69e5fa4227 test: check both dev and prod asset builds using npm run (#34836)
This switches the static asset check over from the deprecated
paver commands to the new 'npm run build' command. Doing so allows us
to check both the prod AND dev build, whereas before we were only
checking the prod build.

Please note that, as before, the "check" is only ensuring that the build
returns 0. It is not checking the contents of the build output.

Closes: https://github.com/openedx/edx-platform/issues/34834
2024-05-22 09:40:37 -04:00
Kyle D. McCormick
f820961de5 test: actually unit test and lint remaining pavelib modules
We haven't unit-tested or linted these modules ever since testing was
moved from Jenkins to GitHub Actions.
2024-05-21 15:14:38 -04:00
qasim.gulzar
48cdbce893 refactor: [DEPR]: Neo4J Support #34342 2024-05-17 18:55:16 +05:00
Feanil Patel
17596bf70e fix: Check consistency with python 3.8
We need to do this until we're ready to compile requirements with python
3.11 some time next week.
2024-05-14 11:04:05 -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
c66f28dcee fix: Add a trailing wildcard because we don't use an exact path.
We were seeing the following error:

```
  /usr/bin/git add -- requirements scripts/**/requirements
  fatal: pathspec 'scripts/**/requirements' did not match any files
```

Once we introduce wildcards, the whole path needs to be valid so adding
a trailing wildcard to catch all the relevant directories and files.
2024-05-07 12:32:40 -04:00
Feanil Patel
b9623833c8 fix: Ensure depedency checks run on script requirements as well. 2024-05-06 14:43:17 -04:00
Feanil Patel
1d23fc1089 fix: Include script requirements in upgrade.
The `upgrade-one-python-dependency` workflow would fail if there were
changes in the scripts directory because they wouldn't get added to the
PR.  Update the list of `add-paths` for the workflow so that it doesn't
fail like this in the future.
2024-05-06 14:43:17 -04:00
Kyle McCormick
e6610f5ece test: only run Mongo 4.4 tests on xmodule directory (#34683)
Cuts the number of unit test checks from 64 down to 34

Also, we rename test contexts so that they're easier to read in GHA.
2024-05-06 14:37:38 -04:00
farhan
9777e3a7cf chore: put the geolite database workflow to cron
- Run the workflow on 1st of every month
2024-05-05 12:00:41 +05:00
farhan
4db6082539 fix: remove reviewer from update-geolite workflow to fix issue 2024-05-02 19:40:07 +05:00
Feanil Patel
8f4cbeadc4 Merge pull request #34576 from farhan/farhan/move-geoipupdate-script
Adds geoip maxmind database upgrade github workflow
2024-05-02 10:05:44 -04:00
farhan
6eacf3a5b1 chore: Address PR change requests 2024-05-02 12:34:25 +05:00
farhan
70af2048d4 feat: Move geoipupdate script from ecommerce-scripts repo
* Ticket: https://github.com/openedx/axim-engineering/issues/1046
2024-05-02 12:34:24 +05:00
Feanil Patel
325a7b91b2 build: Update more workflows to test on Python 3.11 2024-05-01 10:23:34 -04:00
Feanil Patel
e9d716375f build: Update to allow tests to run on python 3.11
* Update so tox will allow running on the new version.
* Update so the hosted runner actually respects the python version in
  the matrix
2024-05-01 10:23:34 -04:00