Files
backstage/plugins/allure
renovate[bot] 9a1fce352e chore(deps): update dependency @testing-library/jest-dom to v6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-11 10:21:53 +00:00
..
2023-10-10 11:39:03 +00:00

Allure

Welcome to the Backstage Allure plugin. This plugin add an entity service page to display Allure test reports related to the service.

Install

# From your Backstage root directory
yarn add --cwd packages/app @backstage/plugin-allure

Configure

Configure Allure service

Add below configuration in the app-config.yaml.

allure:
  baseUrl: <ALLURE_SERVICE_BASE_URL> # Example: https://allure.my-company.net or when running allure locally, http://localhost:5050/allure-docker-service

Setup entity service page

Add EntityAllureReportContent in the EntityPage.tsx like below:

+ import { EntityAllureReportContent } from '@backstage/plugin-allure';

...

const serviceEntityPage = (
  <EntityLayoutWrapper>
    ...
+    <EntityLayout.Route path="/allure" title="Allure Report">
+        <EntityAllureReportContent />
+    </EntityLayout.Route>
  </EntityLayoutWrapper>
);