summaryrefslogtreecommitdiff
path: root/doc/source/client.rst
diff options
context:
space:
mode:
authorJames E. Blair <jim@acmegating.com>2022-05-28 17:34:08 -0700
committerJames E. Blair <jim@acmegating.com>2022-05-30 07:31:16 -0700
commit3ffbf10f250788ecff5c0ade3030a275eca54481 (patch)
treef5fe8616f256d35e719b8a375edb5af8df90c23f /doc/source/client.rst
parent326ede243fdc34d6788c7e68737c644289058553 (diff)
downloadzuul-3ffbf10f250788ecff5c0ade3030a275eca54481.tar.gz
Add prune-database command
This adds a zuul-admin command which allows operators to delete old database entries. Change-Id: I4e277a07394aa4852a563f4c9cdc39b5801ab4ba
Diffstat (limited to 'doc/source/client.rst')
-rw-r--r--doc/source/client.rst11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/source/client.rst b/doc/source/client.rst
index 08e35b355..cde18bfff 100644
--- a/doc/source/client.rst
+++ b/doc/source/client.rst
@@ -108,6 +108,15 @@ Example::
zuul-admin delete-pipeline-state tenant pipeline
+prune-database
+^^^^^^^^^^^^^^
+
+.. program-output:: zuul-admin prune-database --help
+
+Example::
+
+ zuul-admin prune-database --older-than 180d
+
Deprecated commands
-------------------
@@ -256,4 +265,4 @@ ordering.
If items in independent pipelines are promoted, no jobs will be
restarted, but their change queues within the pipeline will be
re-ordered so that they will be processed first and their node request
-priorities will increase. \ No newline at end of file
+priorities will increase.