summaryrefslogtreecommitdiff
path: root/docs/gl_objects
diff options
context:
space:
mode:
Diffstat (limited to 'docs/gl_objects')
-rw-r--r--docs/gl_objects/pipelines_and_jobs.rst4
-rw-r--r--docs/gl_objects/runners.rst4
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/gl_objects/pipelines_and_jobs.rst b/docs/gl_objects/pipelines_and_jobs.rst
index ca802af..1628dc7 100644
--- a/docs/gl_objects/pipelines_and_jobs.rst
+++ b/docs/gl_objects/pipelines_and_jobs.rst
@@ -274,6 +274,10 @@ You can also directly stream the output into a file, and unzip it afterwards::
subprocess.run(["unzip", "-bo", zipfn])
os.unlink(zipfn)
+Delete all artifacts of a project that can be deleted::
+
+ project.artifacts.delete()
+
Get a single artifact file::
build_or_job.artifact('path/to/file')
diff --git a/docs/gl_objects/runners.rst b/docs/gl_objects/runners.rst
index 1919975..1a64c01 100644
--- a/docs/gl_objects/runners.rst
+++ b/docs/gl_objects/runners.rst
@@ -70,6 +70,10 @@ Remove a runner::
# or
runner.delete()
+Remove a runner by its authentication token::
+
+ gl.runners.delete(token="runner-auth-token")
+
Verify a registered runner token::
try: