Commit Graph

321 Commits

Author SHA1 Message Date
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
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
Juliana Kang
0fc990cf08 chore: Upgrade moment-timezone to v0.5.45 (#34968)
REV-4067
2024-06-13 11:57:23 -04: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
c3d158689c build: switch renovate.json to JSON5 for comment support (#34944)
Allows us to use comments to explain why we pin (ignore) certain deps.

Renovate docs ref: https://docs.renovatebot.com/configuration-options/#configuration-options

Closes https://github.com/openedx/edx-platform/issues/34940
2024-06-07 10:06:15 -04:00
Deborah Kaplan
b937fd4346 feat: temporarily prevent renovate from updating this package (#34938)
* feat: temporarily prevent renovate from updating this package

Minor (and therefore presumed-safe by renovate) version updates caused
an exception on some deprecated code. Marking this package as not-safe
for renovate until that code is removed, which  will happen quite soon.
see external (2U) ticket REV-4067 for details. cc @julianajlk

FIXES: APER-3502

* feat: adding a comment

attempting to add a comment explaining the ignored dependency

Co-authored-by: Kyle McCormick <kyle@axim.org>

---------

Co-authored-by: Kyle McCormick <kyle@axim.org>
2024-06-06 16:36:49 -04: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
Feanil Patel
59cae77f36 Merge pull request #34837 from openedx/feanil/update_renovate
build: Update renovate config.
2024-06-04 13:03:18 -04: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
Feanil Patel
34de5af6f5 build: Update renovate config.
Update the renovate config in edx-platform to match the standard config
in most of our other frontend repos, with the exception of 1 settings:

Given the size of edx-platform I want to limit the number of concurrent
renovate PRs to a very small number so that we don't overwhelm our CI
resources.  If we find that it would be useful to get more PRs at a
time, we can change this setting in the future.

We've also removed the `rebaseStalePRs` settings since that would be
extra costly on edx-platform for now.
2024-06-04 09:21:02 -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
Emad Rad
0c44a78fad chore: typos fixed 2024-06-03 22:11:05 +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
Max Sokolski
a96078c1f1 Merge pull request #34807 from raccoongang/max/update-pr-template-redwood
build: nudge devs about Redwood release in github
2024-05-24 20:42:40 +09:00
Max Sokolski
d88732fbe0 build: update nudge text for devs
Add link to the Support Development Guidelines
regarding the currently supported releases.
2024-05-23 11:59:55 +03: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
ff6edf0791 fix: Correct shard count verification.
The test count was off because without warnings disabled, it was also
counting warning lines as tests.

The `head -n -2` grabs everything but the last two lines which contain a
count (not sure why this isn't used).  If you run without
`--disable-warnings` this will include any warnings that occur during
test collection which we don't want in this case.
2024-05-08 23:00:48 -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