File tree Expand file tree Collapse file tree 4 files changed +0
-42
lines changed Expand file tree Collapse file tree 4 files changed +0
-42
lines changed Original file line number Diff line number Diff line change @@ -119,31 +119,6 @@ The Tekton plugin enables you to visualize the `PipelineRun` resources available
119
119
yarn workspace app add @janus-idp/backstage-plugin-tekton
120
120
` ` `
121
121
122
- 1. Enable the **TEKTON** tab on the entity view page using the ` packages/app/src/components/catalog/EntityPage.tsx` file:
123
-
124
- ` ` ` tsx title="packages/app/src/components/catalog/EntityPage.tsx"
125
- /* highlight-add-next-line */
126
- import {
127
- isTektonCIAvailable,
128
- TektonPage,
129
- } from '@janus-idp/backstage-plugin-tekton';
130
-
131
- const serviceEntityPage = (
132
- <EntityPageLayout>
133
- {/* ... */}
134
- {/* highlight-add-start */}
135
- <EntityLayout.Route
136
- if={isTektonCIAvailable}
137
- path="/tekton"
138
- title="Tekton"
139
- >
140
- <TektonPage />
141
- </EntityLayout.Route>
142
- {/* highlight-add-end */}
143
- </EntityPageLayout>
144
- );
145
- ` ` `
146
-
147
122
1. Enable the PipelineRun list in the **CI/CD** tab on the entity view page.
148
123
149
124
` ` ` tsx title="packages/app/src/components/catalog/EntityPage.tsx"
Original file line number Diff line number Diff line change 1
1
export { tektonPlugin , TektonCI } from './plugin' ;
2
2
export { TEKTON_CI_ANNOTATION } from './consts/tekton-const' ;
3
3
export { isTektonCIAvailable } from './components/Router' ;
4
- export { PipelineRunVisualization } from './components/pipeline-topology/PipelineRunVisualization' ;
Original file line number Diff line number Diff line change @@ -8,13 +8,8 @@ import {
8
8
createPlugin ,
9
9
} from '@backstage/core-plugin-api' ;
10
10
11
- import { rootRouteRef } from './routes' ;
12
-
13
11
export const tektonPlugin = createPlugin ( {
14
12
id : 'tekton' ,
15
- routes : {
16
- root : rootRouteRef ,
17
- } ,
18
13
} ) ;
19
14
20
15
export const TektonCI = tektonPlugin . provide (
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments