scaffolder: rollback template and config
Co-authored-by: Harry Hogg <hhogg@spotify.com> Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
@@ -223,7 +223,6 @@ catalog:
|
||||
- System
|
||||
- Domain
|
||||
- Location
|
||||
- Template
|
||||
|
||||
processors:
|
||||
ldapOrg:
|
||||
@@ -280,10 +279,6 @@ catalog:
|
||||
# Backstage end-to-end tests of TechDocs
|
||||
- type: file
|
||||
target: ../../cypress/e2e-fixture.catalog.info.yaml
|
||||
|
||||
# TODO: Remove once approach is validated on RFC.
|
||||
- type: file
|
||||
target: ../../template.yaml
|
||||
scaffolder:
|
||||
# Use to customize default commit author info used when new components are created
|
||||
# defaultAuthor:
|
||||
|
||||
@@ -1,67 +0,0 @@
|
||||
# TODO: Remove once approach is validated on RFC.
|
||||
apiVersion: scaffolder.backstage.io/v1beta3
|
||||
kind: Template
|
||||
metadata:
|
||||
name: my_custom_template
|
||||
title: My custom template
|
||||
description: Just testing
|
||||
spec:
|
||||
owner: web@example.com
|
||||
type: website
|
||||
parameters:
|
||||
- title: Provide some simple information
|
||||
required:
|
||||
- component_id
|
||||
- owner
|
||||
# Example of annotating a parameter
|
||||
metadata:
|
||||
tags:
|
||||
- example
|
||||
properties:
|
||||
component_id:
|
||||
title: Name
|
||||
type: string
|
||||
description: Unique name of the component
|
||||
ui:field: EntityNamePicker
|
||||
# Example of annotating a property
|
||||
metadata:
|
||||
tags:
|
||||
- example
|
||||
description:
|
||||
title: Description
|
||||
type: string
|
||||
description: Help others understand what this website is for.
|
||||
owner:
|
||||
title: Owner
|
||||
type: string
|
||||
description: Owner of the component
|
||||
ui:field: OwnerPicker
|
||||
ui:options:
|
||||
allowedKinds:
|
||||
- Group
|
||||
- title: Choose a location
|
||||
required:
|
||||
- repoUrl
|
||||
properties:
|
||||
repoUrl:
|
||||
title: Repository Location
|
||||
type: string
|
||||
ui:field: RepoUrlPicker
|
||||
ui:options:
|
||||
allowedHosts:
|
||||
- github.com
|
||||
steps:
|
||||
- id: one
|
||||
name: First log
|
||||
action: debug:log
|
||||
input:
|
||||
message: hello
|
||||
# Example of annotating a step
|
||||
metadata:
|
||||
tags:
|
||||
- example
|
||||
- id: two
|
||||
name: Second log
|
||||
action: debug:log
|
||||
input:
|
||||
message: world
|
||||
Reference in New Issue
Block a user