Merge "doc/jeepyb: further cleanups"

This commit is contained in:
Zuul 2022-04-11 23:58:33 +00:00 committed by Gerrit Code Review
commit 37a7a1f63d
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.