Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Referential integrity should be checked #30

Open
dtuite opened this issue Dec 22, 2021 · 2 comments
Open

Referential integrity should be checked #30

dtuite opened this issue Dec 22, 2021 · 2 comments

Comments

@dtuite
Copy link
Member

dtuite commented Dec 22, 2021

There are cases where a Backstage metadata file will fail to import because of a group or other dependency that doesn't exist.

For example, if Group:engineering doesn't exist in the Backstage instance we try to import this YAML into, the import will fail.

apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
  name: sample-service-1
  description: A service for testing Backstage functionality
  annotations:
    github.com/project-slug: RoadieHQ/sample-service
spec:
  type: service
  owner: Group:engineering
  lifecycle: experimental

The validator should detect these failures as part of its standard suite of checks.

@roadie-bot
Copy link

@cal5barton
Copy link

It should also follow the targets for kind: Location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants