Skip to content

Commit c495515

Browse files
fix(tekton): update README and cleanup (#881)
1 parent b8858fc commit c495515

File tree

4 files changed

+0
-42
lines changed

4 files changed

+0
-42
lines changed

plugins/tekton/README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -119,31 +119,6 @@ The Tekton plugin enables you to visualize the `PipelineRun` resources available
119119
yarn workspace app add @janus-idp/backstage-plugin-tekton
120120
```
121121
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-
147122
1. Enable the PipelineRun list in the **CI/CD** tab on the entity view page.
148123
149124
```tsx title="packages/app/src/components/catalog/EntityPage.tsx"

plugins/tekton/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
export { tektonPlugin, TektonCI } from './plugin';
22
export { TEKTON_CI_ANNOTATION } from './consts/tekton-const';
33
export { isTektonCIAvailable } from './components/Router';
4-
export { PipelineRunVisualization } from './components/pipeline-topology/PipelineRunVisualization';

plugins/tekton/src/plugin.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,8 @@ import {
88
createPlugin,
99
} from '@backstage/core-plugin-api';
1010

11-
import { rootRouteRef } from './routes';
12-
1311
export const tektonPlugin = createPlugin({
1412
id: 'tekton',
15-
routes: {
16-
root: rootRouteRef,
17-
},
1813
});
1914

2015
export const TektonCI = tektonPlugin.provide(

plugins/tekton/src/routes.ts

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)