Skip to content

Commit c218dde

Browse files
authored
chore(release): catch tekton 1.3.x up with showcase 1.3.x (#2199)
1 parent a10a452 commit c218dde

File tree

6 files changed

+38
-10
lines changed

6 files changed

+38
-10
lines changed

plugins/tekton/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
### Dependencies
22

3+
* **@janus-idp/shared-react:** upgraded to 2.10.3
4+
5+
### Dependencies
6+
7+
* **@janus-idp/shared-react:** upgraded to 2.10.2
8+
9+
### Dependencies
10+
11+
* **@janus-idp/shared-react:** upgraded to 2.10.1
12+
13+
### Dependencies
14+
315
* **@janus-idp/cli:** upgraded to 1.13.1
416

517
## @janus-idp/backstage-plugin-tekton [3.12.0](https://github.com/janus-idp/backstage-plugins/compare/@janus-idp/[email protected]...@janus-idp/[email protected]) (2024-08-02)

plugins/tekton/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@janus-idp/backstage-plugin-tekton",
3-
"version": "3.12.3",
3+
"version": "3.12.7",
44
"main": "src/index.ts",
55
"types": "src/index.ts",
66
"license": "Apache-2.0",
@@ -47,7 +47,7 @@
4747
"@backstage/plugin-permission-react": "^0.4.24",
4848
"@backstage/theme": "^0.5.6",
4949
"@janus-idp/backstage-plugin-tekton-common": "1.0.0",
50-
"@janus-idp/shared-react": "2.10.0",
50+
"@janus-idp/shared-react": "2.10.3",
5151
"@kubernetes/client-node": "^0.20.0",
5252
"@material-ui/core": "^4.9.13",
5353
"@material-ui/icons": "^4.11.3",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import React from 'react';
2+
3+
import { SVGIconProps } from '@patternfly/react-icons/dist/esm/createIcon';
4+
5+
const SignedBadgeIcon: React.FC<SVGIconProps> = () => {
6+
return (
7+
<svg
8+
width="16"
9+
height="16"
10+
viewBox="0 0 24 24"
11+
fill="none"
12+
xmlns="http://www.w3.org/2000/svg"
13+
>
14+
<path
15+
d="M10.9 15.1L16.6 9.39998L15.55 8.37498L10.975 12.95L8.45 10.425L7.35 11.525L10.9 15.1ZM12 21.975C9.66667 21.3916 7.75 20.0375 6.25 17.9125C4.75 15.7875 4 13.4583 4 10.925V4.97498L12 1.97498L20 4.97498V10.925C20 13.4583 19.25 15.7875 17.75 17.9125C16.25 20.0375 14.3333 21.3916 12 21.975Z"
16+
fill="#757575"
17+
/>
18+
</svg>
19+
);
20+
};
21+
22+
export default SignedBadgeIcon;

plugins/tekton/src/components/PipelineRunList/PipelineRunRow.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ import { PipelineRunKind } from '@janus-idp/shared-react';
1717

1818
import { TEKTON_SIGNED_ANNOTATION } from '../../consts/tekton-const';
1919
import { OpenRowStatus, tektonGroupColor } from '../../types/types';
20-
import { signedBadgeSrc } from '../../utils/image-utils';
2120
import { pipelineRunDuration } from '../../utils/tekton-utils';
21+
import SignedBadgeIcon from '../Icons/SignedBadgeIcon';
2222
import { PipelineRunVisualization } from '../pipeline-topology';
2323
import PipelineRunRowActions from './PipelineRunRowActions';
2424
import PipelineRunTaskStatus from './PipelineRunTaskStatus';
@@ -79,7 +79,7 @@ const PipelineRunName = ({ row }: PipelineRunNameProps) => {
7979
'signed-indicator',
8080
)}
8181
>
82-
<img src={signedBadgeSrc} alt="Signed" />
82+
<SignedBadgeIcon />
8383
</div>
8484
</Tooltip>
8585
) : null

plugins/tekton/src/imgs/signed-badge.svg

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

plugins/tekton/src/utils/image-utils.ts

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

0 commit comments

Comments
 (0)