Initial commit
This commit is contained in:
28
commands/analyze-resource.md
Normal file
28
commands/analyze-resource.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
description: Analyze Kubernetes resource lifecycle in Prow job artifacts
|
||||
argument-hint: prowjob-url resource-name
|
||||
---
|
||||
|
||||
## Name
|
||||
/prow-job:analyze-resource
|
||||
|
||||
## Synopsis
|
||||
Generate a report showing the lifecycle of a single resource:
|
||||
```
|
||||
/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name]
|
||||
```
|
||||
Generate a report showing multiple resource lifecycles:
|
||||
```
|
||||
/prow-job:analyze-resource <prowjob-url> [namespace:][kind/][resource-name],[namespace:][kind/][resource-name],...
|
||||
```
|
||||
|
||||
## Description
|
||||
Analyze the lifecycle of Kubernetes resource(s) in a Prow CI job by invoking the "Prow Job Analyze Resource" skill.
|
||||
|
||||
## Implementation
|
||||
Pass the user's request to the skill, which will:
|
||||
- Download Prow job artifacts from Google Cloud Storage
|
||||
- Parse audit logs and pod logs
|
||||
- Generate an interactive HTML report with timeline visualization
|
||||
|
||||
The skill handles all the implementation details including URL parsing, artifact downloading, log parsing, and HTML report generation.
|
||||
Reference in New Issue
Block a user