Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5e711fd

Browse files
nejchJohnVillalovos
authored andcommitted
docs: add delete methods for runners and project artifacts
1 parentc01c034 commit5e711fd

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

‎docs/gl_objects/pipelines_and_jobs.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,10 @@ You can also directly stream the output into a file, and unzip it afterwards::
274274
subprocess.run(["unzip", "-bo", zipfn])
275275
os.unlink(zipfn)
276276

277+
Delete all artifacts of a project that can be deleted::
278+
279+
project.artifacts.delete()
280+
277281
Get a single artifact file::
278282

279283
build_or_job.artifact('path/to/file')

‎docs/gl_objects/runners.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ Remove a runner::
7070
# or
7171
runner.delete()
7272

73+
Remove a runner by its authentication token::
74+
75+
gl.runners.delete(token="runner-auth-token")
76+
7377
Verify a registered runner token::
7478

7579
try:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp