Replace non-camelCase task IDs with camelCase equivalents
Co-authored-by: Rugvip <4984472+Rugvip@users.noreply.github.com>
This commit is contained in:
@@ -49,7 +49,7 @@ spec:
|
||||
|
||||
# here's the steps that are executed in series in the scaffolder backend
|
||||
steps:
|
||||
- id: fetch-base
|
||||
- id: fetchBase
|
||||
name: Fetch Base
|
||||
action: fetch:template
|
||||
input:
|
||||
@@ -57,7 +57,7 @@ spec:
|
||||
values:
|
||||
name: ${{ parameters.name }}
|
||||
|
||||
- id: fetch-docs
|
||||
- id: fetchDocs
|
||||
name: Fetch Docs
|
||||
action: fetch:plain
|
||||
input:
|
||||
|
||||
@@ -78,7 +78,7 @@ allow most templates built for `fetch:cookiecutter` to work without any changes.
|
||||
|
||||
```yaml title="template.yaml"
|
||||
steps:
|
||||
- id: fetch-base
|
||||
- id: fetchBase
|
||||
name: Fetch Base
|
||||
# highlight-remove-next-line
|
||||
action: fetch:cookiecutter
|
||||
|
||||
@@ -100,7 +100,7 @@ metadata:
|
||||
name: my-template
|
||||
spec:
|
||||
EXPERIMENTAL_formDecorators:
|
||||
- id: my-decorator
|
||||
- id: myDecorator
|
||||
input:
|
||||
test: something funky
|
||||
|
||||
@@ -115,7 +115,7 @@ You can create a decorator using the simple helper method `createScaffolderFormD
|
||||
```ts
|
||||
export const mockDecorator = createScaffolderFormDecorator({
|
||||
// give the decorator a name
|
||||
id: 'mock-decorator',
|
||||
id: 'mockDecorator',
|
||||
|
||||
// define the schema for the input that can be provided in `template.yaml`
|
||||
schema: {
|
||||
|
||||
@@ -59,7 +59,7 @@ spec:
|
||||
|
||||
# here's the steps that are executed in series in the scaffolder backend
|
||||
steps:
|
||||
- id: fetch-base
|
||||
- id: fetchBase
|
||||
name: Fetch Base
|
||||
action: fetch:template
|
||||
input:
|
||||
@@ -68,7 +68,7 @@ spec:
|
||||
name: ${{ parameters.name }}
|
||||
owner: ${{ parameters.owner }}
|
||||
|
||||
- id: fetch-docs
|
||||
- id: fetchDocs
|
||||
name: Fetch Docs
|
||||
action: fetch:plain
|
||||
input:
|
||||
@@ -87,7 +87,7 @@ spec:
|
||||
name: Register
|
||||
action: catalog:register
|
||||
input:
|
||||
repoContentsUrl: ${{ steps['publish'].output.repoContentsUrl }}
|
||||
repoContentsUrl: ${{ steps.publish.output.repoContentsUrl }}
|
||||
catalogInfoPath: '/catalog-info.yaml'
|
||||
|
||||
# some outputs which are saved along with the job for use in the frontend
|
||||
@@ -622,7 +622,7 @@ The `steps` is an array of the things that you want to happen part of this
|
||||
template. These follow the same standard format:
|
||||
|
||||
```yaml
|
||||
- id: fetch-base # A unique id for the step
|
||||
- id: fetchBase # A unique id for the step
|
||||
name: Fetch Base # A title displayed in the frontend
|
||||
if: ${{ parameters.name }} # Optional condition, skip the step if not truthy
|
||||
each: ${{ parameters.iterable }} # Optional iterable, run the same step multiple times
|
||||
@@ -732,7 +732,7 @@ spec:
|
||||
default: false
|
||||
...
|
||||
steps:
|
||||
- id: fetch-base
|
||||
- id: fetchBase
|
||||
name: Fetch Base
|
||||
action: fetch:template
|
||||
input:
|
||||
|
||||
Reference in New Issue
Block a user