This website does readability filtering of other pages. All styles, scripts, forms and ads are stripped. If you want your website excluded or have other feedback, use this form.

tool-precise-tools · tool-precise-tools

HomePhabricator

Log In Diffusion tool-precise-tools (master)

Edit tool-precise-toolsActivePublic

Branch: master Actions Clone Download Archive

[tools.wmflabs.org] T94792: Remove support for precise OGE exec hosts
[tools.wmflabs.org]

tool-precise-tools (master)

.gitignore COPYING README.md app.py nag.py precise_tools/ requirements.txt templates/ tox.ini

Recent Commits

CommitAuthorDetailsCommitted 93e551427cc3 bd808 Add artificial delay in mail sending Mar 17 2019 07f5f7cb093a bd808 Add exclusion list to nag.py Feb 19 2019 df0f4987086e bd808 Add script to send emails to maintainer Feb 7 2019 393fc33e3717 bd808 Use cached data for json output by default Feb 7 2019 60e614e8ae07 bd808 Fix route label for json dump Feb 5 2019 8974dd9d56de bd808 Fix page title Jan 8 2019 b69ed4c982a3 bd808 Sort project members Jan 8 2019 aefd2513af70 bd808 Cross link global, user, and tool views Jan 8 2019 6fbc1d8d45d9 bd808 Update logic for removing jobs seen on the new grid Jan 7 2019 e1428e64ccf7 bd808 Add route to show jobs for a single tool Jan 6 2019 5070427a8bc3 bd808 Yet another taken on recursive tool member expansion Jan 6 2019 6eba34455a88 bd808 Fix tools_members() call Jan 6 2019 42c05a805fea bd808 Fix test for missing job record when adding running jobs Jan 6 2019 995ce7940593 bd808 Always pass seen to tools_members Jan 6 2019 e17f08c4360d bd808 Guard against loops when expanding tools that are members of other tools Jan 6 2019

README.md

precise-tools

List tools still running on Precise Open Grid Engine exec nodes.

Install

Clone repo and create basic files:

bastion$ become precise-tools
[email protected]:~$ mkdir -p ~/www/python
[email protected]:~$ git clone https://phabricator.wikimedia.org/source/tool-precise-tools.git ~/www/python/src
[email protected]:~$ touch ~/redis-prefix.conf
[email protected]:~$ chmod 600 ~/redis-prefix.conf

And edit ~/redis-prefix.conf with a text editor.

Create virtualenv inside kubernetes:

[email protected]:~$ webservice --backend=kubernetes python2 shell
[email protected]:~$ virtualenv ~/www/python/venv
[email protected]:~$ source ~/www/python/venv/bin/activate
(venv)[email protected]:~$ pip install -U pip
(venv)[email protected]:~$ pip install -r ~/www/python/src/requirements.txt

Back to bastion, start the webservice:

[email protected]:~$ webservice --backend=kubernetes python2 start

License

[GNU GPLv3+](//www.gnu.org/copyleft/gpl.html "GNU GPLv3+")

Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL