Commit Graph

553 Commits

Author SHA1 Message Date
Calen Pennington
e15429628f Merge pull request #16797 from cpennington/cale/fix-asset-test-ordering
Remove order dependencies in test_assets.py
2018-01-26 10:19:24 -05:00
Calen Pennington
060b27ad18 Remove order dependencies in test_assets.py 2018-01-24 22:15:10 -05:00
Michael Youngstrom
1a1e3b8a44 Merge pull request #17275 from edx/youngstrom/bokchoy_s3
Dont require creds to read from cache bucket
2018-01-24 14:55:42 -05:00
bmedx
40951a28cf Fixing some violations to assuage pylint and get a bit of overhead 2018-01-24 11:26:43 -05:00
bmedx
1d45c85135 Refactor student login for readability and fix Django 1.11 issues 2018-01-24 11:26:43 -05:00
Michael Youngstrom
b23eea5fcb Allow public read and handle write errors for db cache 2018-01-23 21:46:56 -05:00
Ned Batchelder
d84d261cde Merge pull request #16533 from bzhang443/master
Delete hard coded npm registry setting to accelerate installation
2018-01-22 16:52:53 -05:00
Stuart Young
078f3e6be4 paver flag to run unittests without coverage 2018-01-16 11:30:20 -05:00
Stu Young
00db38188d Merge pull request #17107 from edx/estute/enable-bokchoy-db-caching-on-jenkins
use db cache in jenkins bok choy builds
2018-01-11 12:03:44 -05:00
Ari Rizzitano
f64b04f4d8 temporarily include pattern library node modules for sass builds [FEDX-498]
temporarily include pattern library node modules for sass builds [FEDX-498]

fixup tests
2018-01-10 14:24:36 -05:00
Stuart Young
ee02919ad7 use db cache in jenkins bok choy builds
move migration calculation to reset test-db script
2018-01-10 11:58:27 -05:00
Michael Youngstrom
748621b8f4 Paver flag to update local bokchoy fingerprint 2018-01-08 13:04:17 -05:00
Stuart Young
386f0e7cb7 add tests for paver db cache command 2018-01-05 11:38:02 -05:00
Stu Young
d75bbf05e4 Merge pull request #17053 from edx/estute/bokchoy-option-to-load-data-without-migrations
add bokchoy script option for running migrations
2017-12-29 12:03:12 -05:00
Stuart Young
454e5a3b55 bokchoy option for explicitly running migrations 2017-12-29 08:51:32 -05:00
David Ormsbee
cc229ebb65 Merge pull request #17031 from edx/ormsbee/collectstatic_ignore
Ignore certain patterns during collectstatic.
2017-12-28 20:42:12 -05:00
David Ormsbee
4029ee1837 Ignore certain patterns during collectstatic.
There are symlinks and file types that are not necessary to copy over
to the actual static files output, either because they are source files
that get compiled out, or because they exist only for tests. FEDX-448.

With themes enabled, this reduces the unoptimized static asset build
size from 343M to 212M. The optimized version goes from 838M to 500M.
2017-12-28 15:05:54 -05:00
Jesse Zoldak
129bd7afdd Paver commands for storing and retrieving bokchoy db caches from s3 TE-2353 2017-12-22 16:14:29 -05:00
Jeremy Bowman
1dbdee9c54 Revert "PLAT-1858 Better capture of deprecation warnings" 2017-12-18 21:18:02 -05:00
Jeremy Bowman
b26fe5fd24 PLAT-1858 Better capture of deprecation warnings 2017-12-18 14:59:05 -05:00
Harry Rein
a0df76e19e Merge pull request #16903 from edx/HarryRein/entitlements-jasmine-tests-requireJS
Remove dependency on Popper.js
2017-12-13 13:04:52 -05:00
Harry Rein
54734841a2 Remove dependency on Popper.js 2017-12-13 12:45:08 -05:00
Stu Young
02573a3178 Merge pull request #16851 from edx/estute/paver-fingerprint-migrations
TE-2350 paver function to fingerprint bokchoy db files
2017-12-13 12:20:08 -05:00
Jesse Zoldak
1db4b052c0 No need to show pip freeze output on the console 2017-12-12 12:17:54 -05:00
Jeremy Bowman
05e7a4d671 PLAT-1830 Allow running any test suite in tox 2017-12-11 15:43:01 -05:00
Stuart Young
6240907839 paver function to fingerprint bokchoy db files 2017-12-08 13:54:15 -05:00
John Eskew
db2be76adf Merge pull request #16799 from edx/jeskew/turn_on_django_deprecation_warnings
Turn on deprecation warnings in Django 1.11
2017-12-06 16:55:52 -05:00
John Eskew
4bbc3aa37a Turn on deprecation warnings post-Django 1.11 for bokchoy tests. 2017-12-06 16:04:02 -05:00
Calen Pennington
d2963a66b2 Merge pull request #14674 from cpennington/cale/latest-edx-lint
Cale/latest edx lint
2017-12-05 20:16:02 -05:00
Stu Young
3495f3b6b5 Merge pull request #16766 from edx/estute/paver-command-updates-bokchoy-db
TE-2320 - paver command to consolidate bokchoy db cache creation
2017-12-05 16:33:18 -05:00
John Eskew
50ebfaf734 Add -Wd when running pytest to turn on deprecation warnings in Django 1.11 2017-12-05 16:25:56 -05:00
Jesse Zoldak
82acc30f5b Remove flaky testcase classes 2017-12-05 14:22:22 -05:00
David Ormsbee
f883aa9487 Fix watch_assets call from paver update_assets.
The paver task arg unwrapper expects it to come in a list.
2017-12-04 17:20:27 -05:00
Stuart Young
3137d9695a paver command to update bokchoy db cache 2017-12-04 14:08:04 -05:00
Calen Pennington
5ed3e5edba Make run_quality use the same upper pylint limit as run_pylint 2017-12-01 21:39:50 -05:00
Calen Pennington
97f12ff296 Fix tests that validate how the linting code runs 2017-12-01 21:39:50 -05:00
Calen Pennington
7376b1142a Don't re-run pylint or pep8 when generating diffquality reports 2017-12-01 21:39:49 -05:00
Calen Pennington
8c35e3d827 Run pylint like pep8, rather than through diff-lint 2017-12-01 21:39:49 -05:00
Jesse Zoldak
c647ca5565 Merge pull request #16731 from edx/zoldak/better-quality-output
Improve output for quality failures
2017-12-01 11:51:58 -08:00
Calen Pennington
6d8ce9bcd2 Move pylint sys.path hackery into pylintrc so that any use of pylint gets it 2017-12-01 14:34:49 -05:00
Calen Pennington
840eb0be4e Capture paver quality logs into the artifacts directory
Capture paver quality build stdout and stderr into separate log files
Send pylint results directly to a report file, so that we don't overwhelm jenkins
2017-12-01 14:34:48 -05:00
Calen Pennington
653cc22580 Run pip freeze after installing python prereqs 2017-12-01 14:34:48 -05:00
Calen Pennington
3c35fbb56b Switch to the parseable output-format for pylint 2017-12-01 14:34:48 -05:00
Calen Pennington
c0638ca9d3 Use file watches rather that polling for asset watching 2017-12-01 13:06:20 -05:00
Jesse Zoldak
0bf0ba0c78 Improve output for quality failures 2017-11-30 14:43:35 -05:00
Ned Batchelder
e23e3a0486 Fix a number of unused-import pylint violations 2017-11-21 19:57:06 -05:00
John Eskew
c78ccf8fc1 Fix the systems parsing code for pylint.
Add lower pylint error threshold to guard against unsuccessful runs.
Increase upper pylint threshold. Add tests for pylint option parsing.
2017-11-18 10:50:20 -05:00
Michael Youngstrom
a6b55c2d17 Remove coverage reports for a11y and bokchoy tests by default 2017-11-13 12:28:07 -05:00
Bison Zhang
ac5243037a delete hard coded npm registry setting
to accelerate installation, people usually set npm registry to a faster mirror by running 'npm config set registry BLAH_BLAH'
and even if the customized config not available, by default it is 'NPM_REGISTRY = "https://registry.npmjs.org/"', so delete these lines always works.
2017-11-09 20:27:24 -06:00
Stu Young
c3ebad65a8 Merge pull request #16401 from edx/estute/disable-capturing-stderr-in-pytest-output
add option to disable capturing stderr in pytest
2017-11-02 11:42:28 -04:00