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 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 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}) }