feat: use annotation to get project name

This commit is contained in:
Nikita Nek Dudnik
2020-07-23 21:05:55 +02:00
parent 9bdb010432
commit 25e41d2274
12 changed files with 95 additions and 423 deletions
@@ -13,7 +13,7 @@ spec:
type: website
path: '.'
schema:
required:
required:
- component_id
- description
properties:
@@ -22,7 +22,18 @@ spec:
type: string
description: Unique name of the component
description:
title: Description
title: Description
type: string
description: Description of the component
---
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
name: backstage-site
description: backstage.io
annotations:
backstage.io/github-actions-id: 'spotify/backstage'
spec:
type: website
lifecycle: production
owner: guest