doc/jeepyb: further cleanups

Follow-on to I07ca2b18d2da7e6261389696a0eae13d20d2cb22

* Github issues are now closed via the
  maintain-github-openstack-mirror which Zuul runs periodically

* manage-projects also runs from Zuul

* run-mirror hasn't been used since If5935b356e222c2f4d474a2cec8add3cc66b6010

* I'm not sure what the ssh key stuff is talking about, it's not
  really relevant now.

Change-Id: If4d8a1ac98c35c494090564d94f3a8c082cea900
This commit is contained in:
Ian Wienand 2022-04-12 09:13:20 +10:00
parent 97707fe43d
commit 654c287367
2 changed files with 4 additions and 40 deletions

View File

@ -43,10 +43,10 @@ document at :ref:`gerrit_github_integration`.
Pull Request Closer
-------------------
A cronjob is run that looks for Pull Requests that have been erroneously
submitted and closes them with a helpful message pointing people to the
documentation on `Contributing to OpenStack`_. More information on this can
be found in the :ref:`jeepyb` document at :ref:`closing_pull_requests`.
A periodic job ``openstack-github-mirroring`` runs that looks for
Pull Requests that have been erroneously submitted and closes them
with a helpful message pointing people to the documentation on
`Contributing to OpenStack`_.
.. _Contributing to OpenStack: https://docs.opendev.org/opendev/infra-manual/latest/developers.html#getting-started

View File

@ -141,39 +141,3 @@ restores previous review votes and leaves a comment in Gerrit. It
uses Gerrit's own SSH host key as the private key for access in order
to gain the "superuser" permissions needed to impersonate other users
in reviews.
Periodic Tasks
==============
.. _closing_pull_requests:
Closing Github Pull Requests
----------------------------
The ``close-pull-requests`` Jeepyb command is installed as a cron job
and periodically closes all pull requests for projects so configured
in projects.yaml.
Manage Projects
---------------
This ensures that project metadata is set up as defined in projects.yaml.
Pypi Mirror
-----------
The ``run-mirror`` command builds a full Pypi mirror for a project or
set of projects by reading a requirements.txt file, installing all
listed dependencies into a virtualenv, inspecting the resulting
installed package set, and then downloading all of the second-level
(and further) dependencies. Essentially, the mirror is built by
introspection and contains the full set of dependencies needed whether
they are explicitly listed or not.
Admin tasks
-----------
Jeepyb needs to run with the same ssh key registered with gerrit and github
(and any other ssh services it may be pointed at). Be sure to add your public
key when creating accounts.