Merge pull request #8622 from julioz/julioz/gocd-plugin

Add GoCD plugin
This commit is contained in:
Ben Lambert
2022-01-12 14:00:59 +01:00
committed by GitHub
27 changed files with 1162 additions and 0 deletions
+1
View File
@@ -27,6 +27,7 @@
"@backstage/plugin-explore": "^0.3.24",
"@backstage/plugin-gcp-projects": "^0.3.12",
"@backstage/plugin-github-actions": "^0.4.30",
"@backstage/plugin-gocd": "^0.1.0",
"@backstage/plugin-graphiql": "^0.2.26",
"@backstage/plugin-home": "^0.4.9",
"@backstage/plugin-jenkins": "^0.5.16",
@@ -129,6 +129,7 @@ import {
EntityNewRelicDashboardContent,
EntityNewRelicDashboardCard,
} from '@backstage/plugin-newrelic-dashboard';
import { EntityGoCdContent, isGoCdAvailable } from '@backstage/plugin-gocd';
import React, { ReactNode, useMemo, useState } from 'react';
@@ -185,6 +186,10 @@ export const cicdContent = (
<EntityTravisCIContent />
</EntitySwitch.Case>
<EntitySwitch.Case if={isGoCdAvailable}>
<EntityGoCdContent />
</EntitySwitch.Case>
<EntitySwitch.Case if={isGithubActionsAvailable}>
<EntityGithubActionsContent />
</EntitySwitch.Case>