-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ODC-7619: Add tekton results utils to aonic library (#30)
* Adding tekton results utils * removed dynamic-plugin-sdk dependency * updated input type to add TR configuration in single object * Added changeset
- Loading branch information
1 parent
a4be6bd
commit 977f231
Showing
34 changed files
with
3,098 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
"@aonic-ui/pipelines": major | ||
--- | ||
|
||
Added the hooks which are related to tekton results to fetch pipelineruns and taskruns from etcd storage and tekton results storage. | ||
|
||
below are the hooks which are added and the description, | ||
|
||
useRuns - Fetch data from both k8s and tekton results | ||
useTektonResultsRuns - Fetch data from tekton results | ||
usePipelineRuns - Fetch PipelineRunsfrom both k8s and tekton results | ||
useTRPipelineRuns - Fetch PipelineRuns from tekton results | ||
useTaskRuns - Fetch TaskRuns from both k8s and tekton results | ||
useTRTaskRuns - Fetch TaskRuns from tekton results | ||
useTRTaskRunLog - Fetch tekton results TaskRuns logs | ||
usePipelineRunsForPipelineOrRepository - Fetch PipelineRuns for Pipeline or Repository from both k8s and tekton results | ||
useTaskRunsForPipelineRunOrTask - Fetch TaskRuns for PipelineRun or Task from both k8s and tekton results |
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,3 +1,4 @@ | ||
module.exports = { | ||
...require('@aonic-ui/jest-config/jest.config.cjs') | ||
...require('@aonic-ui/jest-config/jest.config.cjs'), | ||
transformIgnorePatterns: ['<rootDir>/node_modules/(?!lodash-es)'], | ||
}; |
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,4 @@ | ||
export const DELETED_RESOURCE_IN_K8S_ANNOTATION = 'resource.deleted.in.k8s'; | ||
export const RESOURCE_LOADED_FROM_RESULTS_ANNOTATION = 'resource.loaded.from.tektonResults'; | ||
export const ALL_NAMESPACES_KEY = '#ALL_NS#'; | ||
export const FLAG_PIPELINE_TEKTON_RESULT_INSTALLED = 'PIPELINE_TEKTON_RESULT_INSTALLED'; |
Oops, something went wrong.