harness / harness/backstage-plugins

[Feat]: Create an EntityPage widget for the CI/CD plugin

Open
#27 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue help wanted
Dominant language
TypeScript
Stars
39
Forks
30
PR merge metrics
No merged PRs in 30d

Description

🔖 Feature description

As of now the CI/CD plugin is rendered under the CI/CD tab for a software component. But usually Backstage plugins also provide a smaller card for the Entity home page or the Overview page. This contains just some of top most important information from the plugin's perspective for the software component.

In case of Harness CI/CD plugin, there should also be a Card which shows some of these info

  • Latest build ID, pipeline name and it's result, time taken and when it ran.
  • Result of last 10 executions. Icons are fine. Example - ✅✅✅✅❌❌❌✅❌✅
  • Average build time per pipeline (based on last 50 executions).
  • Anything else?

🎤 Context

Screenshot 2022-11-22 at 3 41 09 PM

EntityCards are exported by plugins for the Entity overview page.

✌️ Possible Implementation

See an example of the PagerDuty Entity card.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing CI/CD tab implementation and the PagerDuty plugin.ts EntityCard example linked in the issue. Define the card's scope from the listed build, execution-history, and average-time information, then verify that the completed widget can be exported for the Entity overview page.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.