From 2e8764b95fa2095b7b99eed7e5613fc819c3e73c Mon Sep 17 00:00:00 2001 From: Mikko Korhonen Date: Fri, 14 Jan 2022 11:43:11 +0200 Subject: [PATCH] chore(catalog-import): add change set for import flow customizations Signed-off-by: Mikko Korhonen --- .changeset/tame-ads-exercise.md | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .changeset/tame-ads-exercise.md diff --git a/.changeset/tame-ads-exercise.md b/.changeset/tame-ads-exercise.md new file mode 100644 index 0000000000000..a2e11393a6e95 --- /dev/null +++ b/.changeset/tame-ads-exercise.md @@ -0,0 +1,34 @@ +--- +'@backstage/plugin-catalog-import': minor +--- + +Make filename, branch name and examples URLs used in catalog import customizable. + +Catalog backend ingestion loop can be already configured to fetch targets with custom catalog filename (other than `catalog-info.yaml`). It's now possible to customize said filename and branch name used in pull requests created by catalog import flow too. This allows organizations to further customize Backstage experience and to better reflect their branding. + +Filename (default: `catalog-info.yaml`) and branch name (default: `backstage-integration`) used in pull requests can be configured in `app-config.yaml` as follows: + +```yaml +// app-config.yaml + +catalog: + import: + entityFilename: anvil.yaml + pullRequestBranchName: anvil-integration +``` + +Following React components have also been updated to accept optional props for providing example entity and repository paths: + +```tsx + +``` + +```tsx + +```