-
Notifications
You must be signed in to change notification settings - Fork 454
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Scaffolder step:
- id: injectPipeline
name: Merge pipeline definition
action: roadiehq:utils:merge
input:
path: ./my.file.yml
preserveYamlComments: true
content: {
"pipelines": {
"${{ parameters.serviceFullName }}": {
"yml_path": "./pipelines/${{ parameters.serviceShortName }}.yml"
}
}
}
Suppose that:
serviceFullName
=My.Service
serviceShortName
=my-service
Existing file contents:
pipelines:
ExamplePipe1:
yml_path: pipeline.yml
I expect the final file to be:
pipelines:
ExamplePipe1:
yml_path: pipeline.yml
My.Service:
yml_path: ./pipelines/my-service.yml
Current Behavior
Instead I get this:
pipelines:
ExamplePipe1:
yml_path: pipeline.yml
${{ parameters.serviceFullName }}:
yml_path: ./pipelines/my-service.yml
The serviceFullName parameter reference is left as the literal ${{ }} string - it's not substituted at all.
"@roadiehq/scaffolder-backend-module-utils": "^3.0.0"
- Backstage
1.33.2
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working