-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document the new galasactl runs delete command
See galasa-dev/projectmanagement#1210 Signed-off-by: James Taylor <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
path: "/docs/manage-ecosystem/cli-runs-delete" | ||
title: "Deleting test run results" | ||
--- | ||
|
||
Over time, test run results build up and take up space in the Galasa Ecosystem. You can delete test runs which have completed in the past by using the `galasactl runs delete` command. | ||
|
||
You can view the full command syntax in the <a href="https://github.com/galasa-dev/cli/blob/main/docs/generated/galasactl_runs_delete.md" target="_blank">Galasa cli repository</a>. | ||
|
||
## Working with the `galasactl runs delete` command | ||
|
||
The following example deletes a test run called _C1234_: | ||
|
||
``` | ||
galasactl runs delete --name C1234 | ||
``` | ||
|
||
## Identifying test runs to delete | ||
|
||
Use the `galasactl runs get` command to find the names of the test runs to delete. For example, use the `--age` option to specify a time period in which the tests ran. | ||
|
||
``` | ||
galasactl runs get --bootstrap http://example.com:30960/boostrap --age 6w:1w | ||
``` | ||
|
||
The `--format raw` option is useful if you are writing a script to delete multiple test runs. | ||
|
||
You can view the full command syntax for `galasactl runs get` in the <a href="https://github.com/galasa-dev/cli/blob/main/docs/generated/galasactl_runs_get.md" target="_blank">Galasa cli repository</a>. |