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

102 Коммитов

Автор SHA1 Сообщение Дата
Ed Morley 0e188d4d9b Bug 1155160 - Stop referring to compiled vs pure packages
This differentiation was only useful when explaining which packages
could be listed in which requirements file (since compiled packages
could not be added to checked-in.txt). Now that all packages are peep
installed, common.txt contains both pure and compiled packages.
2015-04-22 11:23:06 +01:00
Ed Morley 8478629ef4 Bug 1056877 - Update links & puppet/Vagrant config for new repo name
The 'treeherder-service' repo has been renamed to 'treeherder', ready
for when the treeherder-ui repo is imported into it. This means the
Github URL, Travis URL and directory name when cloned changes. The Read
The Docs URL cannot be changed, so for now we will leave as-is, and in
the future (once service and UI docs combined) we will create a new
project on RTD with name "treeherder".

This updates doc links and puppet/Vagrant configs, but leaves the
stage/prod deploy script alone, since renaming the directories on our
infra is non-trivial. The dev instance will need some TLC since unlike
stage/prod, it does use the puppet scripts in the repo.
2015-04-20 22:00:04 +01:00
Ed Morley b099457846 Bug 1151868 - Vagrant: Pin virtualenv to v12.0.7
Since higher versions include pip 6.1.1, which is currently
incompatible with peep. Virtualenv v12.0.7 ships with pip 6.0.8.
2015-04-07 16:06:46 +01:00
Ed Morley f8c4f5cdb2 Bug 1144805 - Vagrant: Show command output for errors during provision
We need to force output on_failure, since we're using Puppet 2.x which
does not have the fix for https://projects.puppetlabs.com/issues/10907
2015-03-19 12:28:08 +00:00
Ed Morley 8e67030a35 Bug 1143350 - Use peep instead of pip locally, on Travis & in Docker
We want to start using peep in production, to alleviate security
concerns with the idea of auto-updating packages from PyPI on deploy.
As a first step, we switch to using peep in the Vagrant environment,
on Travis and in the Docker build - so we can confirm the hashes are
correct.

Close bug 1143350.
2015-03-19 12:26:07 +00:00
Ed Morley d1310e3a42 Bug 1144916 - Vagrant: Remove deprecated --no-site-packages venv option
no-site-packages has been the default since virtualenv 1.7 (2011-11-30):
https://virtualenv.pypa.io/en/latest/reference.html#cmdoption--no-site-packages
2015-03-19 00:52:52 +00:00
Ed Morley 97603d4a5e Bug 1144916 - Vagrant: Remove deprecated --download-cache pip option
pip v6+ has an on by default cache, that it manages itself, so the
--download-cache option is deprecated:
https://pip.pypa.io/en/latest/reference/pip_install.html#caching
2015-03-19 00:49:18 +00:00
Ed Morley 2f7a5a1354 Bug 1144916 - Vagrant: Don't use out of date pip/virtualenv packages
We use an Ubuntu Precise image for the Vagrant project, whose package
repository contains extremely out of date versions of setuptools, pip
and virtualenv. So we stop using the package repository, and instead use
the official PyPA bootstrap script, which installs the latest versions
of setuptools and pip, and then we follow that with a pip install of the
latest virtualenv. We need curl to fetch the pip bootstrap script,
but it's handy for development anyway.

References to distribute are removed, since it's an older fork of
setuptools and long since deprecated.

Shiny!
2015-03-19 00:43:32 +00:00
Ed Morley e1631abac8 Bug 1076710 - Remove socketio remnants
We're not currently using socketio - and if we start doing so in the
future we'll likely want to update to a newer version/adjust the
implementation anyway. Removing the dependencies from common.txt speeds
up the pip install on Travis. The old files will still be in version
control should we wish to refer to them :-)
2015-03-13 14:28:08 +00:00
Ed Morley 71ed4c3ce0 Bug 1070470 - Rename compiled.txt to common.txt
The packages in this file are already a mixture of pure and compiled
packages. It's not worth moving the pure packages to checked-in.txt,
since we'll eventually be removing checked-in.txt and the associated
vendor/ and moving everything in there to this file. As such, common.txt
more accurately reflects the purpose of this file.
2015-03-12 19:04:11 +00:00
Ed Morley fc88dcf73d Bug 1125530 - Remove the TREEHERDER_DATABASE_PORT pref
We only pass it in some cases, so setting it to anything other than the
default will break all the places where we don't use it. Django doesn't
require it is set, since it will fall back to the default port for that
engine type anyway.
2015-02-14 21:38:26 +00:00
Cameron Dawson eabe3a47de Bug 1119479 - Fix update script and puppet manifest 2015-02-10 11:34:56 -08:00
William Lachance 81e0681c51 Bug 1107546 - Add apache2 alias from /ui/perf.html to /perf.html 2015-01-28 15:13:53 -05:00
mdoglio d248aa6544 Bug 1125615 - Apache shouldn't cache unavailable services 2015-01-28 18:17:11 +00:00
William Lachance 6a2fdd3472 Bug 1117856 - Fix error in logging configuration 2015-01-26 15:57:57 -05:00
William Lachance 8919d4f98c Bug 1117856 - Add basic internal logging to treeherder 2015-01-05 18:17:03 -05:00
Jonathan French dbb4d11e09 Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
mdoglio fbc6b853e1 Bug 1088577 - update apache vhost to remove ui prefix 2014-10-27 11:44:43 +00:00
mdoglio defa7a2bd8 Bug 1081059 - restore access to static and media files 2014-10-10 11:30:39 +01:00
Jonathan Eads 0f85ac1768 Remove root ProxyPass 2014-10-06 15:05:50 -07:00
Jonathan Eads 5fd276b12d Bug 1063411 - Remove ui route 2014-09-30 17:39:09 -07:00
Mauro Doglio 1d1897193f Fix puppet provisioning failing on first attempt 2014-05-27 15:52:36 +01:00
Mauro Doglio 9a6679725e Fix log parser c exteensions not being generated 2014-05-27 11:27:04 +01:00
Jonathan Eads 392dc5c8c2 added new manifest that serves the UI from the treeherder-ui/dist directory 2014-04-24 18:35:19 -07:00
Mauro Doglio 25a15c791b Update default.vcl
reproduce the setup on dev and stage
2014-02-19 18:45:23 +01:00
Mauro Doglio 15848cadd4 Update treeherder.pp
add creation of socketio log dir to vagrant setup
2014-01-16 16:24:04 +01:00
mdoglio 656fdd7f00 fix minor issue in the server setup 2014-01-07 19:05:31 +00:00
mdoglio 320bdd3be6 add some docuentation for deployment and fix a few bugs in the vagrant
setup
2014-01-07 16:44:24 +00:00
mdoglio 327ed28648 improve environment setup via puppet 2014-01-07 15:24:35 +00:00
mdoglio c0b649df81 improve varnish puppet class 2014-01-06 15:30:07 +00:00
mdoglio 3b4f103724 add varnish setup via puppet 2014-01-03 18:16:08 +01:00
mdoglio b9eb464176 improve usability of the vagrant dev environment 2013-11-29 13:15:12 +00:00
mdoglio 871882ded6 update puppet modules for amazon linux compatibility 2013-08-05 16:19:57 -07:00
mdoglio 1f0b3380e6 code cleaning 2013-05-15 13:54:42 +01:00
mdoglio 1f66add285 fixed wrong comment 2013-05-13 20:10:11 +02:00
mdoglio 17d98479e2 add celery ecosystem 2013-05-13 19:19:19 +02:00
mdoglio 019d5de603 python-dev is required to pip install MySQL-python 2013-04-02 18:16:13 +01:00
mdoglio b7d194671b add sql-datasource; port datazilla sql datasource (with tests) to treeherder 2013-03-27 14:25:19 +00:00
mdoglio 5b8063cef8 add memcached setup 2013-03-26 16:24:38 +00:00
mdoglio 03b239de23 move db settings to env variables; set env variables for db settings in vagrant 2013-03-20 13:59:48 +00:00
mdoglio a424c4d499 fix missing password for db user 2013-03-19 18:57:48 +00:00
mdoglio 6fa1dc21dc grant all privileges to db user on vagrant 2013-03-19 16:52:38 +00:00
mdoglio c1d6a0c246 add new line at end of my.cnf 2013-03-18 18:22:48 +00:00
mdoglio d0650e2707 vagrant bind mysql on 0.0.0.0 2013-03-18 18:19:14 +00:00
mdoglio 7be34b9529 activate virtualenv on vagrant ssh 2013-03-13 12:34:39 +00:00
mdoglio 54d4884a91 fix a typo in treeherder.pp 2013-03-12 16:50:43 +00:00
mdoglio fe1c449459 add sphinx docs setup 2013-03-12 13:17:52 +00:00
mdoglio ce4b07cb1d add south to pure requirements. install pure.txt inside the virtualenv 2013-03-11 16:44:52 +00:00
mdoglio 6882628ba2 fix db user without password. move db and user creation to mysql.pp 2013-03-11 12:06:20 +00:00
mdoglio d101a5e222 relocate webapp under treeherder 2013-03-07 19:09:35 +00:00
mdoglio 314a6b0ee6 add new line where missing 2013-03-06 17:19:12 +00:00
mdoglio ff8c73668c Add a vagrant setup for dev and a basic django webapp. 2013-03-06 17:08:21 +00:00