Enable template synchronization using the scaffolder-relation-processor
Configure the scaffolder-relation-processor plugin to synchronize Software Template changes to downstream repositories.
Before you begin
- You have added a custom Developer Hub application configuration.
- You have configured GitHub or GitLab integrations in your
RHDH app-config.yamlfile. - Your scaffolded entities include the
spec.scaffoldedFromfield referencing the source template. - Your entities include the
backstage.io/managed-by-locationannotation pointing to a valid GitHub or GitLab URL.
About this task
To automate the synchronization of changes from Software Templates to your repositories, you must configure the plugin in your backend settings and ensure that your entities contain the required metadata.
Procedure
Results
- Update the version of a source template in its repository.
- Navigate to a repository scaffolded from that template.
- Confirm that a new pull request named
[component-name]/template-upgrade-v[version]exists.