-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make collectors pipeline more generic (#635)
The new implementation allows to pass either a ReleasePlan or a ReleasePlanAdmission. Signed-off-by: David Moreno García <damoreno@redhat.com>
- Loading branch information
1 parent
7baa615
commit a1aabe7
Showing
15 changed files
with
122 additions
and
574 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
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
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
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 |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# run-collectors | ||
|
||
Tekton task to run the collectors defined in the ReleasePlan and ReleasePlanAdmission. The results are saved in the resultsDir, | ||
Tekton task to run the collectors defined in a resource passed as parameter. The results are saved in the resultsDir, | ||
one file per collector. | ||
|
||
## Parameters | ||
|
||
| Name | Description | Optional | Default value | | ||
|--------------------------|---------------------------------------------------------------------------|----------|---------------| | ||
| releasePlanAdmissionPath | Path to the JSON string of the ReleasePlanAdmission in the data workspace | No | - | | ||
| releasePlanPath | Path to the JSON string of the ReleasePlan in the data workspace | No | - | | ||
| resultsDir | The relative path in the workspace to save the collector results to | No | - | | ||
| Name | Description | Optional | Default value | | ||
|------------------------|-----------------------------------------------------------------------------------------|----------|---------------| | ||
| collectorsPath | Path to the JSON string of the resource containing the collectors in the data workspace | No | - | | ||
| collectorsResourceType | The type of resource that contains the collectors | No | - | | ||
| resultsDir | The relative path in the workspace to save the collector results to | No | - | | ||
|
||
## Changes in 0.2.0 | ||
* Pass reference to the collectors path and to the resource type |
Oops, something went wrong.