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

139 Коммитов

Автор SHA1 Сообщение Дата
mdoglio d88791068f Bug 1079270 - Use new restart command on deploy 2015-01-27 16:59:43 +00:00
camd c21f697685 Merge pull request #304 from mozilla/fetch-with-chief-deploy
Bug 1113160 - add git fetch to get new branches for deploying
2015-01-06 09:14:26 -08:00
Ed Morley a2e1cbc79d Bug 1117096 - Update commander_settings.py-example to reflect production 2015-01-05 16:00:25 +00:00
Cameron Dawson 44e4c2025d Bug 1113160 - add git fetch to get new branches for deploying 2015-01-02 16:51:58 -08:00
mdoglio 0352043443 fixup! Bug 1112290 - Fix UI revision path on deployment 2014-12-16 23:10:31 +00:00
Mauro Doglio aacc1ed941 Bug 1112290 - Fix UI revision path on deployment 2014-12-16 23:05:40 +00:00
mdoglio de5845e864 Bug 1112290 - Rename celery services 2014-12-16 22:37:09 +00:00
Mauro Doglio 86f514c826 Bug 1112290 - Rename the various services in update.py 2014-12-16 21:17:56 +00:00
Jonathan French dbb4d11e09 Bug 1090689 - Add MPL2.0 headers to the repo 2014-11-03 13:06:03 -05:00
Ed Morley 73f64550ef Bug 1087313 - Update example commander settings to reflect production
...and rename to make it clearer that this file is just an example.
2014-10-27 10:13:31 +00:00
Cameron Dawson 3127f53e19 Bug 1077136 - removing dead socket.io code 2014-10-09 12:19:42 -07:00
mdoglio 9555d42872 Bug 1076774 - use a separate worker for jobs ingestion 2014-10-06 16:28:00 +01:00
mdoglio cfa29aaa65 Bug 1076778 - Use a gevent worker for pushlog ingestion 2014-10-06 14:24:26 +01:00
mdoglio 703bf33297 Bug 1074199 - add clear_cache command to the update script 2014-09-29 16:35:36 +02:00
Ed Morley f7fed3e46e Bug 1070471 - Update example commander settings to mirror production 2014-09-23 14:12:47 +01:00
Ed Morley 41384c5b6b Bug 1069283 - Call manage.py init_datasources during Chief deployment 2014-09-23 11:29:26 +01:00
Ed Morley 2b8b12db78 Bug 1069290 - Remove redundant manage.py params from the deploy script
manage.py sets the DJANGO_SETTINGS_MODULE env variable, so it's
unnecessary to pass |--settings ...| when we call it from the Chief
deploy script.
2014-09-20 10:24:44 +01:00
Ed Morley 0830f3dbf9 Bug 1065754 - On deployment update prod DB using in-repo fixtures 2014-09-12 12:27:24 -07:00
Ed Morley f5793c48ef Bug 1066264 - Refactor update.py: Remove unnecessary wrapping 2014-09-11 14:42:40 -07:00
Ed Morley 7f011e09ae Bug 1066264 - Refactor update.py: Move contents of deploy() inline 2014-09-11 14:27:04 -07:00
Ed Morley c207c0594e Bug 1066264 - Refactor update.py: Clean up comments 2014-09-11 14:17:43 -07:00
Ed Morley d5f31ced1d Bug 1066264 - Refactor update.py: Move contents of update() inline 2014-09-11 14:17:43 -07:00
Ed Morley cfef06799b Bug 1066264 - Refactor update.py: Move contents of pre_update() inline 2014-09-11 14:17:42 -07:00
Ed Morley 7775a57b99 Bug 1064646 - Collect static assets and rebuild pyx files before deploy
Previously changes were made to the srcdir after the IT deploy script
had already run, so were not rsynced until the next deploy push.
2014-09-11 11:57:56 -07:00
Ed Morley 423446402c Bug 1064646 - Comment and PEP8 cleanup 2014-09-11 11:57:56 -07:00
mdoglio 8a968d9ed8 add supervisord configuration for the hp worker 2014-07-16 11:22:53 +01:00
mdoglio 38f8d5eb8d fixup! Add a chdir before celery worker restartin the update script 2014-07-09 12:36:54 +01:00
mdoglio 6225c1f5c9 fixup! Add a chdir before celery worker restartin the update script 2014-07-09 12:33:10 +01:00
mdoglio 042535a47d Add a chdir before celery worker restartin the update script
Also fix the commands order in the whole script
2014-07-09 12:25:07 +01:00
mdoglio 6c3939fce0 add celery warm shutdown command to update.py 2014-07-08 15:49:40 +01:00
Jonathan Eads d8ac41b86f added pkill for celery worker on the processor nodes 2014-06-26 11:29:00 -07:00
Jonathan Eads eb85599740 removed memcached start 2014-06-20 16:06:01 -07:00
Jonathan Eads 73aa98b4d6 restarting memcached 2014-06-20 16:03:52 -07:00
Jonathan Eads 2248b4fb4b stopping memcached to see if that's the problem 2014-06-20 15:40:13 -07:00
Jonathan Eads 76aa23272c removed pkill commands 2014-06-20 14:25:35 -07:00
Jonathan Eads 89ccb1f717 fixed paths... again 2014-06-20 14:21:59 -07:00
Jonathan Eads 8f21058a1f fixed pkill paths 2014-06-20 14:18:24 -07:00
Jonathan Eads 2ab4dc9a7e removed unecessary paths 2014-06-20 14:15:44 -07:00
Jonathan Eads f3f2def162 one time kill of rogue commands 2014-06-20 14:14:08 -07:00
Jonathan Eads 7fb6b50094 added pkill command to handle zombies until we find a real fix 2014-06-20 12:21:00 -07:00
Jonathan Eads cdfa27ee5d added socketio-server restart 2014-06-20 11:41:55 -07:00
Jonathan Eads e71757006c start all services 2014-06-16 12:49:19 -07:00
Jonathan Eads 651a2364f2 stopped memcached 2014-06-16 12:39:50 -07:00
Jonathan Eads a42ba5972e stop all services 2014-06-16 12:36:28 -07:00
jeads 07ea10de37 Update update.py 2014-06-16 11:09:58 -07:00
Jonathan Eads 7048040900 removed --settings option 2014-06-13 08:27:18 -07:00
Jonathan Eads d7eca2b5a3 replace manage.py with setup.py for build_ext 2014-06-13 08:22:27 -07:00
Jonathan Eads b3c3b4079e moved build_ext statement 2014-06-13 08:10:11 -07:00
Jonathan Eads 41f1c1c3b9 restart services 2014-06-13 08:05:19 -07:00
Jonathan Eads 4ffed85db9 stopping services 2014-06-13 07:23:41 -07:00
Jonathan Eads ad1310fb26 fixed a bunch of stuff for production deployment 2014-06-11 16:28:06 -07:00
Jonathan Eads 1a970a060d restart celerybeat 2014-06-09 09:48:31 -07:00
Jonathan Eads 38a4f8d42f fixed webapp path 2014-06-06 15:41:08 -07:00
Jonathan Eads 84a6873d63 added lcd 2014-06-06 15:29:05 -07:00
Jonathan Eads 293a474282 removed ctx function argument 2014-06-06 14:03:38 -07:00
Jonathan Eads ea4cca8e41 added explicit settings option to manage.py 2014-06-06 12:40:14 -07:00
Jonathan Eads 8dba12876a added treeherder-service to sys.path 2014-06-05 13:44:39 -07:00
Jonathan Eads 6b5a5e8310 removed localhost reference, added treeherder-service to sys.path 2014-06-05 13:39:05 -07:00
Jonathan Eads e9e14921cc debugging chief in production 2014-06-05 11:33:03 -07:00
Jonathan Eads ad9ef8550d debugging chief in production 2014-06-05 11:30:52 -07:00
Jonathan Eads 1a7d28aa8a added ctx to update_code call 2014-06-04 17:54:58 -07:00
Jonathan Eads ee207ae3f7 made more changes 2014-06-04 17:51:50 -07:00
Jonathan Eads c76cf5011d fixed stuff 2014-06-04 17:47:21 -07:00
Jonathan Eads a6ac29edbb changed supervisorctl to service 2014-06-04 15:36:20 -07:00
Jonathan Eads 9614c72f10 fixed stuff 2014-06-04 14:38:21 -07:00
Jonathan Eads 5004b7f244 removed grunt build 2014-06-04 14:12:18 -07:00
Jonathan Eads ee335679fa modified grunt build to run from the treeherder-ui src dir 2014-06-04 08:48:17 -07:00
mdoglio 1e468c7f14 set treeherder logger to write ERROR level logs to stderr
remove unused celerymon service
disable flash transport for socketio
2014-06-04 14:14:41 +02:00
uberj f0de3bfca8 use os.path.join instead of .format() 2014-06-02 14:58:40 -07:00
uberj 54366b17c5 use ctx.local to use grunt to build assets 2014-06-02 14:56:27 -07:00
Jonathan Eads 5fbf796886 fixed typo 2014-05-30 11:11:57 -07:00
Jonathan Eads 6740a418a9 fixed typo 2014-05-30 11:10:21 -07:00
uberj 9c5cccaca3 make deploy script pep8 compliant 2014-05-30 10:48:52 -07:00
uberj 968e89d1e0 pass ctx to commands 2014-05-30 10:47:12 -07:00
Jonathan Eads 2eb36a2b2d made changes 2014-05-30 10:22:38 -07:00
Jonathan Eads 550460e208 replaced service with supervisorctl 2014-05-29 11:41:29 -07:00
Jonathan Eads 3d2de3719a fixed stuff 2014-05-28 18:19:20 -07:00
Jonathan Eads a6ddf424bd made changes 2014-05-28 11:08:09 -07:00
Jonathan Eads ea1631554f fixed stuff 2014-05-28 09:55:23 -07:00
Jonathan Eads 0d103f25b7 made changes 2014-05-28 07:56:47 -07:00
Jonathan Eads 08c77a340f made changes 2014-05-27 13:29:17 -07:00
Jonathan Eads f0cfb96e2c added supervisorctl cmd 2014-05-27 11:40:26 -07:00
Jonathan Eads c2b863b0ea added update and commander script templates 2014-05-27 11:24:29 -07:00
mdoglio 829d941092 split supervisord.conf into admin_node and worker_node 2014-04-18 14:20:28 +01:00
Mauro Doglio 0c979369d3 Update treeherder.conf
Add [supervisord] section. required to run supervisord from this configuration
2014-01-27 15:24:19 +00:00
mdoglio 0e53e70491 fix difference between supervisord v2 and v3 2014-01-07 21:28:48 +00: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