Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

28 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
bqbn 0f84b2a6d0 Update sha256sum values for a few packages (#2884)
* Update sha256sum values for a few packages

pypi use different packaging format for a few packages which results in
different sha256sum values.

* Further remove pyrepo dependency from other places.

This is to address https://github.com/mozilla/addons-server/issues/2885
as well, to remove pyrepo from docker build flow.

* Update sha256sum for a few dev packages

* Add swig to support compiling the m2crypto module

* Replace "sudo apt-get" with "addons.apt.packages"

This is because Travis' containerized build infrastructure doesn't
support sudo.

* Add swig to the Dockerfile as well

SWIG_FEATURES="-D__x86_64__" is needed by M2Crypto-0.22.3 on CentOS
platform.
2016-06-13 09:22:49 -07: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
Andy McKay 3c523d9f82 ensure src dependencies don't go into code 2016-05-12 14:55:32 -07: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
Christopher Grebs cf3b4f982d Upgrade pip before installing any dependencies.
Fixes #2536
2016-05-09 12:21:23 +02:00
Christopher Grebs 0cbb294201 Rename addons-validator to addons-linter and update to latest release.
Fixes #1742
2016-02-24 10:53:26 +01:00
Christopher Grebs f3d3808d00 Fix typo on pip install line in Dockerfile.
This resultet in olympia being installed as a sdist and
python-package afterwards.
2016-02-04 23:11:24 +01:00
Christopher Grebs 92918ac47d Install olympia after we mount /code 2016-02-04 21:52:37 +01:00
Christopher Grebs 4bdd97a3cd Fix syntax error in Dockerfile 2016-02-04 21:21:28 +01: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 20ac1daeab Merge pull request #951 from EnTeQuAk/feature/881-integrate-addons-validator
Install addons-validator and configure it's path. Fixes #881
2015-12-04 00:48:20 +01:00
Christopher Grebs a0c68641d8 Update addons-validator to 0.0.8, fix path 2015-12-04 00:47:15 +01:00
Christopher Grebs 0734dbcf67 Install addons-validator and configure it's path. Fixes #881 2015-12-04 00:45:07 +01: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
Stuart Colville 5104fe4d47 Move npm installation to Dockerfile 2015-09-29 09:39:46 +01:00
Stuart Colville eb93fd7e78 Move package installation 2015-09-18 17:01:32 +01:00
Stuart Colville 5bf6773865 Use supervisord for runserver in docker 2015-09-18 12:59:08 +01:00
Kumar McMillan 7d769f87be Set the locale to UTF8 to fix file system encoding
The main thing this fixes are a few failures in `lib/crypto/tests.py` which were the result of Python treating file system encoding as ASCII.
2015-09-17 11:44:13 -05:00
Kumar McMillan 4a212dc576 No longer use /wheelhouse from docker
This fixes a regression from https://github.com/mozilla/olympia/pull/743

For some reason, m2crypto was not getting installed right when the /wheelhouse wheel was used.
2015-09-15 11:08:40 -05:00
Kumar McMillan 3452b8691e Fix tests that require sasl on docker
CentOS only supports glibc 2.12 but the sasl import was failing with:
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/rh/python27/root/usr/lib64/python2.7/site-packages/_saslwrapper.so)

To do this, the pip install command had to link to our Mozilla repo. This is better anyway since PyPI can go down and also poses some security concerns.

This patch also adds `&& yum clean` which saves a surprising amount of disk space in the image.
2015-09-15 10:06:01 -05: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
Andreas Wagner bc7d134f0e Fix Docker dependency
See 73e58ccd26
2015-07-23 14:42:16 +02:00
Mathieu Agopian ead24008a5 Use mkt's centos base images for our docker installs (bug 1162462) 2015-05-12 16:07:03 +02:00
Mathieu Agopian 9d4d2ae38f Fig deprecated in favor of docker-compose, better Dockerfile 2015-03-18 12:30:38 +01:00
Mathieu Agopian 476ea8076c Add missing 'npm install' to the Dockerfile 2015-03-13 10:29:37 +01:00
Mathieu Agopian d162026e3a Use docker (bug 1075456) 2014-12-09 12:47:25 +01:00