Граф коммитов

69 Коммитов

Автор SHA1 Сообщение Дата
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
Mathieu Agopian 769767d806 Use Travis-ci's container infrastructure (bug 1118887) 2015-01-09 10:20:48 +01:00
Mathieu Agopian 600c51150c comment when auto-flagging as admin review (bug 1109701) 2015-01-07 11:33:25 +01:00
Mathieu Agopian d162026e3a Use docker (bug 1075456) 2014-12-09 12:47:25 +01:00
Mathieu Agopian 7c9c856873 Use pytest (bug 1090184) 2014-12-09 09:45:40 +01:00
Mathieu Agopian ed30ce8523 Merge pull request #366 from magopian/1090184-get-rid-of-test-utils
Get rid of test_utils (bug 1090184)
2014-11-27 19:09:12 +01:00