зеркало из https://github.com/mozilla/treeherder.git
18e8971532
* ES 5.x now requires JDK 8, and Ubuntu 14.04 only ships with openjdk 7, so a third party PPA must be used in Vagrant: https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa * ES 5.x changed the way it manages the heap size, such that: - The variables for controlling it have changed (now set via eg `ES_JAVA_OPTS="-Xms1g -Xmx1g"` or in the jvm.options file). See: https://www.elastic.co/guide/en/elasticsearch/reference/5.2/heap-size.html - The default heap size has increased from ~(min:256MB, max:1GB) to (min: 2GB, max: 2GB) which causes OOM in the VM, unless either lowered back down or the VM RAM increased. * The Python ES clients must be updated to the latest releases: https://elasticsearch-py.readthedocs.io/en/master/#compatibility * The previous test failures were fixed in #2403. * The Vagrant provision now also waits for Elasticsearch to be ready before trying to run the Django migrations, since Elasticsearch can take a while to start (and always has). This prevents failures when the pip/yarn install steps are no-ops (when already up to date), causing the Django migration to run immediately after the ES install step. |
||
---|---|---|
.. | ||
.profile | ||
env.sh | ||
mysql.cnf | ||
setup.sh | ||
varnish.vcl |