shore-config - render command using shore config with the correct profile
- Dominant language
- Go
- Stars
- 21
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
## Summary
Original Author: @dkirillov
`shore render` command should now use the render config specified in the shore config.
Specifically, in the shore config it is stored under the following path - `profiles.[profile-name].render`. Example shore config:
```yml
renderer:
...
executor:
...
profiles:
default:
application: \"myAppName\"
pipeline: \"awesome-pipeline\"
render: ... # Path or Object
exec: ... # Path or Object
e2e: ... # Path or Object
```
What is present in the profile could either be the full render config object (in-line config), or a path to the `render.yml` file (external config). Either or is allowed and should be used.
## Motivation
## Describe alternatives you've considered
## Additional context
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the `shore render` command and trace how the shore config and selected profile are loaded. Verify both `profiles.[profile-name].render` forms—an inline object and a path to `render.yml`—and consider the work done when rendering uses either form from the active profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100