Skip to content

faranda26/backstage-teamcity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Workflow Coverage Status

Backstage teamcity plugin

Welcome to the teamcity plugin for Backstage!

Getting started

Install via yarn

yarn add --cwd packages/app backstage-plugin-teamcity

In: packages\app\src\components\catalog\EntityPage.tsx file add:

import { isTeamcityAvailable, EntityTeamcityContent } from 'backstage-plugin-teamcity';

Then under cicdContent block in the EntityPage.tsx file paste:

    <EntitySwitch.Case if={isTeamcityAvailable}>
        <Grid item sm={12}>
            <EntityTeamcityContent/>
        </Grid>
    </EntitySwitch.Case>

As a final step add the proxy to the app-config.local.yaml or prod depending on the env.

proxy:
  '/teamcity-proxy/':
    target: 'http://localhost:8111'
    headers:
      Authorization: 'Basic BASIC_AUTH'
      Accept: 'application/json'

Project catalog flag requirement

  annotations:
    teamcity/project-id: TEAMCITY_NAME

Screenshots

error error error

Future plans

  • More tests
  • Run button

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.8%
  • JavaScript 0.2%