Files
backstage/plugins/allure
renovate[bot] a70869e775 chore(deps): update dependency msw to ^0.43.0
Signed-off-by: Renovate Bot <bot@renovateapp.com>
2022-07-05 09:54:46 +00:00
..
2021-08-27 16:16:55 +05:30
2022-07-05 08:23:38 +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

Run the below command from the app package directory.

yarn add @backstage/plugin-allure

alternatively, you can execute below command from the root directory of your Backstage app.

yarn workspace app add @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>
);