{"id":20577857,"url":"https://github.com/toolforge/grid-jobs","last_synced_at":"2025-09-26T01:31:36.749Z","repository":{"id":90070341,"uuid":"108689390","full_name":"toolforge/grid-jobs","owner":"toolforge","description":"Mirror of https://phabricator.wikimedia.org/source/tool-grid-jobs/","archived":false,"fork":false,"pushed_at":"2023-12-19T12:28:49.000Z","size":99,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-16T06:08:46.465Z","etag":null,"topics":["mirror","toolforge"],"latest_commit_sha":null,"homepage":"https://sge-jobs.toolforge.org/","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toolforge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-10-28T22:41:13.000Z","updated_at":"2021-10-03T11:59:53.000Z","dependencies_parsed_at":"2023-11-26T15:22:20.692Z","dependency_job_id":"49da45f5-b76a-4662-ac00-bcf19e27d587","html_url":"https://github.com/toolforge/grid-jobs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Fgrid-jobs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Fgrid-jobs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Fgrid-jobs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toolforge%2Fgrid-jobs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toolforge","download_url":"https://codeload.github.com/toolforge/grid-jobs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234280445,"owners_count":18807457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mirror","toolforge"],"created_at":"2024-11-16T06:08:49.890Z","updated_at":"2025-09-26T01:31:31.424Z","avatar_url":"https://github.com/toolforge.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"sge-jobs\n========\n\nList tools running on Toolforge Son of Grid Engine exec nodes.\n\nInstall\n-------\n\nClone repo and create basic files:\n```\nbastion$ become sge-jobs\ntools.sge-jobs@bastion:~$ mkdir -p ~/www/python\ntools.sge-jobs@bastion:~$ git clone https://phabricator.wikimedia.org/source/tool-grid-jobs.git ~/www/python/src\n```\n\nCreate virtualenv inside kubernetes:\n```\ntools.sge-jobs@bastion:~$ webservice --backend=kubernetes python shell\ntools.sge-jobs@interactive:~$ python3 -m venv ~/www/python/venv\ntools.sge-jobs@interactive:~$ source ~/www/python/venv/bin/activate\n(venv)tools.sge-jobs@interactive:~$ pip install -U pip\n(venv)tools.sge-jobs@interactive:~$ pip install -r ~/www/python/src/requirements.txt\n```\n\nBack to bastion, start the webservice:\n```\ntools.sge-jobs@bastion:~$ webservice --backend=kubernetes python start\n```\n\nCreating the list is pretty expensive and we don't need it to be a real time\ndisplay, so a nice thing to do is setup a cron job to collect new data once an\nhour:\n```\n21 * * * * jstart -N update-cache curl 'https://tools.wmflabs.org/sge-jobs/?purge'\n```\n\nLicense\n-------\n[GNU GPLv3+](//www.gnu.org/copyleft/gpl.html \"GNU GPLv3+\")\n\nForked from\n[precise-tools](https://phabricator.wikimedia.org/source/tool-precise-tools/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolforge%2Fgrid-jobs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoolforge%2Fgrid-jobs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoolforge%2Fgrid-jobs/lists"}