Benjamin Forehand Jr
66573f6da7
Allow for running flake8 on integration tests directory. ( #9772 )
2018-10-22 18:29:57 -04:00
Philip Cristiano
cb51f696df
Revert "Merge pull request #7432 from mozilla/revert-docker-changes"
...
Revert for local work and eventual merge, once this is fixed.
This reverts commit 5307f487a7
, reversing
changes made to 49389bd642
.
2018-02-05 09:30:36 -05:00
Christopher Grebs
22f864bd14
Revert our centos -> debian docker image changes.
...
Revert "docker: Fix Debian build issue for python package"
This reverts commit 2239e8483e
.
Revert "docker: Include uwsgi plugin"
This reverts commit 807420bf16
.
Revert "docker: Include uwsgi"
This reverts commit ceb36b5890
.
Revert "docker: Update deploy to use Docker Python image"
This reverts commit 916547d2b5
.
Revert "docker: Remove ‘centos’ from docker-indicating file"
This reverts commit d34b92e0e8
.
Revert "docker: Update build to use Docker Python image"
This reverts commit b08b51375d
.
2018-01-29 19:38:04 +01:00
Philip Cristiano
d34b92e0e8
docker: Remove ‘centos’ from docker-indicating file
...
Moving from Centos to the Docker Python image
2018-01-22 15:40:50 -05:00
Andrew Williamson
956ffe8685
refactor, then flake8 our services py ( #6583 )
2017-10-05 13:48:52 +01:00
Andrew Williamson
e971a1c054
Make Makefile cleaner by splitting tasks between host and container ( #5634 )
2017-06-15 09:41:40 +01:00
Andrew Williamson
2853b675ca
use npm for jqueryui ( #5581 )
2017-06-09 18:14:29 +01:00
Andrew Williamson
cdc2d54204
Use the correct less.js that comes with our less dependancy rather than a 6 year old one. ( #5587 )
2017-06-07 16:13:08 +01:00
Andrew Williamson
aa2f179578
use npm for just jquery ( #5530 )
2017-06-01 12:32:58 +01:00
Christopher Grebs
e3e020d3a1
Install six before we upgrade setuptools. ( #5541 )
...
* Install six before we upgrade setuptools.
See pypa/setuptools#964 for a few more details. Currently quite a few
travis and circleci jobs are failing because of that.
* Explicitly upgrade pip and setuptools in 'make update_deps' so for travis too.
* Potentially fix circleci
* Fix setuptools and potentially docs environments
* More explicitly install six and setuptools
* Add more requirements for docs
* Add pyparsing dependency
2017-06-01 19:20:12 +08:00
Andrew Williamson
677f00a3df
revert all of use npm for js libs ( #5523 )
2017-05-30 17:08:30 +01:00
Andrew Williamson
49a2b03b88
switch back to raven.min.js to try to fix -dev breakage ( #5521 )
2017-05-30 15:54:54 +01:00
Andrew Williamson
2af008a479
use npm for js libs ( #5485 )
2017-05-30 13:09:31 +01:00
Mathieu Pillard
cefb50b529
Avoid relying on git commit id to generate the assets build id
2017-03-29 17:49:30 +02:00
Andrew Williamson
25d9649432
call update_permissions_from_mc command on startup ( #4884 )
2017-03-10 12:46:25 +01:00
Andrew Williamson
d09bfd22ff
Update worker container deps too with update_docker ( #4808 )
2017-03-01 14:15:40 +01:00
Mark Striemer
188feb33ad
Add make dbshell command
2016-11-08 10:59:56 -06:00
Andreas Wagner
46ae37bc94
Clean content folders when initializing database
2016-10-11 14:26:09 +02:00
Mathieu Pillard
872e8bd7f3
Install pycodestyle instead of pep8 to fix flake8 in builds
...
Also do install flake8 when doing make update_deps, and stop
ignoring F999 in two places.
2016-07-19 15:46:09 +02:00
Christopher Grebs
c6377295f7
Only run py.test for src/olympia to skip ui-tests for regular runs. ( #3045 )
2016-07-05 16:49:16 +02:00
Andy McKay
26d5e2aafe
clarify what command can be run where
2016-06-27 13:08:59 -07:00
Andreas Wagner
46e57faf9c
'make update_docker' should call 'update_deps'
2016-06-23 16:33:37 +02:00
Mathieu Pillard
09b1b41278
Remove travis.txt and docker.txt distinction now that we've removed pyrepo
2016-06-15 14:12:43 +01:00
Mathieu Pillard
24a373da6a
Merge pull request #2888 from diox/upgrade-flake8
...
Upgrade to latest version of flake8
2016-06-15 09:34:01 +01:00
Christopher Grebs
a8883dc10a
Update requirements/docs.txt, install it explicitly to be self-containing. ( #2891 )
2016-06-14 17:20:55 +02:00
Mathieu Pillard
0dde2686fb
Upgrade to latest version of flake8
2016-06-14 14:26:39 +01:00
Mathieu Pillard
a3c6867432
Install ES mapping before populating data with generate_addons
2016-05-25 15:17:15 +02:00
Christopher Grebs
53060ba973
Simplify our node modules installation, fix paths
...
refs #2596 , fixes #2696 , fixes #2701
2016-05-19 11:27:22 +02:00
Christopher Grebs
e7c49f8e13
Detect docker container and switch between index ordering accordingly to install correct packages.
2016-05-17 14:53:02 +02:00
Christopher Grebs
d7be555cbb
Refactor the way we handle dependencies, use 'make update_deps' in tox and docker.
...
There's now only one place that defines how we install things, the Makefile.
This also merges flake8.txt, test.txt into dev.txt and removed the
unused load.txt and cleans up all installation related code in
Dockerfile and tox.
* Install our node dependencies in update_deps too, we do use at least addons-linter in the near future.
2016-05-12 18:31:40 +02:00
Matthew Riley MacPherson
6d1d86e831
Change `make test` to run outside docker
...
Close #1925 , close #1929
2016-03-17 15:04:27 +01:00
Christopher Grebs
d0778759c8
Remove python path and settings module stuff from makefile
2016-02-24 20:56:56 +01:00
Mathieu Pillard
c76e22fcbf
Fix settings/python path in Makefile
2016-02-24 17:13:30 +01:00
Mark Striemer
9b4bf3c59b
Set COMPOSE_PROJECT_NAME based on root directory
...
Document that you might need to set COMPOSE_PROJECT_NAME in some cases
too.
2016-02-12 15:20:01 -06:00
Kumar McMillan
fb0b496ddd
Update Makefile after docker renaming
2016-02-10 10:34:55 -06:00
Christopher Grebs
5b7ae06efd
Update django-piston-oauth2, fix merges, more path/import fixes.
...
* Make migrations work again
* Fix paths in Makefile, make sure olympia get's installed as a module too
* Fix migrations path in 'initialize_db'
* Make sure settings won't be loaded on top in olympia.startup
2016-01-06 10:48:04 +01:00
Christopher Grebs
74fa9aee4b
Add proper setup.cfg file.
...
This adds pytest and flake8 configuration
to a setup.cfg file which we can use to
add more lint/pytest related configuration
later too.
2015-12-08 14:11:38 -05:00
Christopher Grebs
96319bde4a
Create a new base image for addons/olympia.
...
* Upgrade to Centos 7
* Use gpg-keys for nodesource and mysql56 repositories
* Uses more prod-like package versions
* Update pyrepo links to use https://pyrepo.stage.mozaws.net/olympia/
(this is what we're using on prod)
2015-12-04 00:11:23 +01:00
Andy McKay
9993acfbe3
move to new repo
2015-11-25 13:09:24 -08:00
Mark Striemer
66482cc56a
Handle COMPOSE_PROJECT_NAME in Makefile
2015-10-26 19:30:22 -05:00
Mark Striemer
2d9d3d0c65
Add djshell command
2015-10-23 13:24:46 -05:00
Mark Striemer
013d999a83
Update docker Makefile commands and docs
2015-10-22 12:53:16 -05:00
Kumar McMillan
b96f7703d9
JWT token auth for signing API (bug 1210889)
2015-10-09 13:39:58 -05:00
Stuart Colville
5104fe4d47
Move npm installation to Dockerfile
2015-09-29 09:39:46 +01:00
Andreas Wagner
edc5b45781
Add --noinput parameter for ES wipe
2015-09-16 12:58:22 +02:00
Andreas Wagner
ed29e42599
Fix Makefile
2015-09-16 12:03:46 +02:00
Kris Maglione
d881f53917
Fix Docker build to use a more recent version of PIP, and clean up Dockerfile to avoid unnecessary image cache busting and file copying.
2015-08-07 21:35:50 -07:00
Mathieu Agopian
de90dc575b
Make sure we only install packages from pyrepo
2015-07-28 09:51:54 +02:00
Mathieu Agopian
9d4d2ae38f
Fig deprecated in favor of docker-compose, better Dockerfile
2015-03-18 12:30:38 +01:00
Mathieu Agopian
ee0fa13e1c
update pep8 to 1.6.1
2015-02-11 10:14:04 +01:00