From 97fa334f953e38c63175e1926c4dc093e69e45a1 Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Fri, 24 Feb 2023 10:49:16 +0100 Subject: [PATCH 1/3] Add Octopus Deploy logo Signed-off-by: Jonathan Mezach --- .../OctopusDeployIcon/OctopusDeployIcon.tsx | 31 +++++++++++++++++++ .../src/components/OctopusDeployIcon/index.ts | 17 ++++++++++ .../components/ReleaseTable/ReleaseTable.tsx | 3 ++ 3 files changed, 51 insertions(+) create mode 100644 plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx create mode 100644 plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts diff --git a/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx b/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx new file mode 100644 index 0000000000..626e61ccd8 --- /dev/null +++ b/plugins/octopus-deploy/src/components/OctopusDeployIcon/OctopusDeployIcon.tsx @@ -0,0 +1,31 @@ +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { SvgIcon, SvgIconProps } from '@material-ui/core'; + +import React from 'react'; + +export const OctopusDeployIcon = (props: SvgIconProps) => ( + + + + + + +); diff --git a/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts b/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts new file mode 100644 index 0000000000..d78e1bfc7f --- /dev/null +++ b/plugins/octopus-deploy/src/components/OctopusDeployIcon/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export { OctopusDeployIcon } from './OctopusDeployIcon'; diff --git a/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx b/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx index dfda291e1a..bc185546b1 100644 --- a/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx +++ b/plugins/octopus-deploy/src/components/ReleaseTable/ReleaseTable.tsx @@ -28,6 +28,7 @@ import { Table, TableColumn, } from '@backstage/core-components'; +import { OctopusDeployIcon } from '../OctopusDeployIcon'; type ReleaseTableProps = { environments?: OctopusEnvironment[]; @@ -141,6 +142,8 @@ export const ReleaseTable = ({ }} title={ + + Octopus Deploy - Releases ({releases ? releases.length : 0}) } From c3b3065722200149bd3205421234df4631e56c0c Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Fri, 24 Feb 2023 10:56:25 +0100 Subject: [PATCH 2/3] Add Octopus Deploy plugin to Marketplace Signed-off-by: Jonathan Mezach --- microsite/data/plugins/octopus-deploy.yaml | 10 ++++++++++ microsite/static/img/octopus-deploy.svg | 1 + 2 files changed, 11 insertions(+) create mode 100644 microsite/data/plugins/octopus-deploy.yaml create mode 100644 microsite/static/img/octopus-deploy.svg diff --git a/microsite/data/plugins/octopus-deploy.yaml b/microsite/data/plugins/octopus-deploy.yaml new file mode 100644 index 0000000000..a6997e597d --- /dev/null +++ b/microsite/data/plugins/octopus-deploy.yaml @@ -0,0 +1,10 @@ +--- +title: 'Octopus Deploy' +author: jmezach +authorUrl: https://jmezach.github.io/ +category: CI/CD +description: Easily view your Octopus Deploy releases within the Software Catalog +documentation: https://github.com/backstage/backstage/blob/master/plugins/octopus-deploy/README.md +iconUrl: img/octopus-deploy.svg +npmPackageName: '@backstage/plugin-octopus-deploy' +addedDate: '2023-02-24' diff --git a/microsite/static/img/octopus-deploy.svg b/microsite/static/img/octopus-deploy.svg new file mode 100644 index 0000000000..a3f7927617 --- /dev/null +++ b/microsite/static/img/octopus-deploy.svg @@ -0,0 +1 @@ + \ No newline at end of file From cb0fc15a992a43430083222d018345bf1e8c89a5 Mon Sep 17 00:00:00 2001 From: Jonathan Mezach Date: Fri, 24 Feb 2023 10:59:54 +0100 Subject: [PATCH 3/3] Added changeset Signed-off-by: Jonathan Mezach --- .changeset/long-wolves-drive.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/long-wolves-drive.md diff --git a/.changeset/long-wolves-drive.md b/.changeset/long-wolves-drive.md new file mode 100644 index 0000000000..1c3ffadb5a --- /dev/null +++ b/.changeset/long-wolves-drive.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-octopus-deploy': patch +--- + +Added Octopus Deploy logo