Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Task: Add Catalog Entities to Backstage
This is an automatically generated pull request which adds a
catalog-info.yaml
file to the repository. This file is used by Backstage to read catalog entities into its Software Catalog.What are Backstage or its Software Catalog?
Backstage is the developer portal of our choosing. The Software Catalog is like an interactive directory inside Backstage of everything we’ve built, are building, or depend on. Each component — whether it’s a microservice, a library, or even documentation — has a standardized record in the catalog. This provides clear visibility into who owns what, how it’s connected, where it’s deployed, and so on. Navigate to ŌURA Backstage to check it out!
To read more about Backstage and the Software Catalog, check out its documentation from (where else than) Backstage. Authentication happens with GitHub credentials, so anyone with permissions to
jouzen
GitHub organization has access to Backstage as well.Required Steps
Before merging this pull request, please fill in the
catalog-info.yaml
with correct details matching this repositories entities.Describing Entities
To understand how the entities should be described into the file you can take a peak into Backstage's documentation about Software Catalog's System Model. In general, entities in common repositories can almost always be referenced as one of
Since you, as the owner(s) of this repository, know best what's in it, please modify the newly added
catalog-info.yaml
to include whatever catalog items the repository contains. Then, merge it to the main branch for Backstage to find it.Validating Entities
There are two easy ways to validate that the written
catalog-info.yaml
is valid:Examples
Many repositories have already implemented entities to a
catalog-info.yaml
. Here's a couple of good examples to use when trying to figure out what to put into the file:jouzen/backstage
: https://github.com/jouzen/backstage/blob/main/catalog-info.yamljouzen/cloud-moi
: https://github.com/jouzen/cloud-moi/blob/main/catalog-info.yamljouzen/cloud-app-server-sync
: https://github.com/jouzen/cloud-app-server-sync/blob/master/catalog-info.yamlIgnore the Pull Request
It might be that this pull request does not concern this specific repository. For example, if the repository contents do not link to any service that anyone else is using, the repository was created for testing purposes, or something similar. In this case, you can safely ignore and close the pull request.
However, if you don't want to see one of these pull requests in the future either, leave the branch intact. Mere existance of the branch will tell us to skip this repository.
Questions?
Any questions can be addressed to the SRE Squad. Don't hesitate to ask anything that's on your mind.