Commit Graph

15 Commits

Author SHA1 Message Date
Aarif
58a54f8d0b BOM-2543: Remove the diff-quality step from quality checks (#27619)
* build: Removed the diff-quality step
Applied lint-amnesty on all the warnings
Removed pylint thresholds comparison code and related tests

Co-authored-by: Usama Sadiq <usama.sadiq@arbisoft.com>
2021-06-07 18:37:06 +05:00
Aarif
09ac7f9372 remove cyclomatic complexity calculation for python code 2020-08-04 22:10:05 +05:00
Jeremy Bowman
45644a3511 Upgrade edx-lint BOM-1298 (#23227)
The last time we tried this upgrade we encountered timeouts on the quality job, which it now appears were due to the worker running pylint common running out of memory and killing the Jenkins process. Switching to a different worker type with double the RAM (8 GB vs. 4 GB) seems to have fixed this; about 5.5 GB was used. Upstream is aware of the high memory usage on large projects, it's apparently due primarily to a cache of parsed modules: https://github.com/PyCQA/pylint/issues/1495 .

Even after disabling some of the new checks that have been added, the new version of pylint found about twice as much to complain about. Just bumping the threshold for now to unblock the Django upgrade, we can try automated utilities like pyupgrade to fix some of these later.
2020-03-02 08:27:19 -05:00
Feanil Patel
5d7bdf91b1 Revert requirements changes due to memory issues.
Some change in the requirements here may be responsible for increased
CPU and memory usage.  This is causing production LMS for edx.org to run
into lots of performance issues.  Reverting for now until we can narrow
it down to which change caused the issue.
2019-10-09 16:47:26 -04:00
Stu Young
7de7bcb398 Revert "Upgrade edx-lint" (#21930) 2019-10-03 16:23:44 -04:00
Calen Pennington
2fa5ff0067 TEST: increase the timeout on the linting jobs 2019-10-01 14:00:54 -04:00
Jeremy Bowman
636220cb14 TE-2862 Switch to warnings-ng Jenkins plugin (#21646) 2019-09-12 13:36:37 -04:00
Jeremy Bowman
b44be34756 TE-2847 Send more Jenkins data to Splunk (#21436) 2019-08-23 15:06:36 -04:00
Michael Youngstrom
4160cd1310 Add repo as an argument to the notifier (#20678) 2019-05-24 10:44:17 -04:00
Michael Youngstrom
640ff4ed10 Fix slack messaging in pipelines 2019-04-18 10:56:01 -04:00
Michael Youngstrom
2fb8473e0a Move context to env var 2019-02-28 10:20:27 -05:00
Julia Eskew
060d3b8e85 Accept option for PII checker report dir. Add PII check to CI quality check.
Add tests for run_pii_check paver command.
2019-02-21 12:47:34 -05:00
Michael Youngstrom
d8e50c3f1a Enable private pipeline jobs 2019-01-15 09:53:38 -05:00
Michael Youngstrom
817ee46ec2 Fix context name 2019-01-04 11:41:20 -05:00
Michael Youngstrom
5c88962d24 Add Jenkinsfile for bokchoy and quality 2018-12-19 17:09:55 -05:00