c1a21d53af
* 'master' of github.com:spotify/backstage: (45 commits) chore(catalog): simplify the filter types a little fix(catalog-backend): update the mock-data script to point to new example entities renamed example_components to example-components and deleted old exampled feat(catalog): add back ability for OR/IN type searches Add sample plugins to sidebar (#1243) chore(catalog): rename all pages and components to use Entity nomenclature fix(catalog): moar clean up Updated examples fix(catalog): add types and clean up code Added owner and lifecycle to catalog table, slightly updated examples chore(catalog): the component type is gone yarn.lock again... fix(catalog): merge errors review fixes. i thought about another force update for a moment :D move components to separate files fix(catalog): moar clean up fix(catalog): make code intention clear by renaming Merge pull request #1214 from spotify/feat/star-components Merge pull request #1194 from spotify/freben/backend-common-service Merge pull request #1215 from spotify/mob/sidebar-auth ...
CircleCI Plugin
Website: https://circleci.com/
Setup
- If you have standalone app (you didn't clone this repo), then do
yarn add @backstage/plugin-circleci
- Add plugin API to your Backstage instance:
// packages/app/src/api.ts
import { ApiHolder } from '@backstage/core';
import { CircleCIApi, circleCIApiRef } from '@backstage/plugin-circleci';
const builder = ApiRegistry.builder();
builder.add(circleCIApiRef, new CircleCIApi(/* optional custom url for your own CircleCI instance */));
export default builder.build() as ApiHolder;
- Add plugin itself:
// packages/app/src/plugins.ts
export { plugin as Circleci } from '@backstage/plugin-circleci';
- Run app with
yarn startand navigate to/circleci/settings - Enter project settings and project token, acquired according to https://circleci.com/docs/2.0/managing-api-tokens/
Features
- List top 50 builds for a project
- Dive into one build to see logs
- Polling (logs only)
- Retry builds
- Works for both project and personal tokens
- Pagination for builds
Limitations
- CircleCI has pretty strict rate limits per token, be careful with opened tabs