shore icon indicating copy to clipboard operation
shore copied to clipboard

shore-config - save command using shore config with the correct profile

Open eyal-mor opened this issue 2 years ago • 0 comments

Summary

Original Author: @dkirillov shore save command should now use the render config specified in the shore config. (Save renders and publishes the pipeline - so the same render.yml is used)

Specifically, in the shore config it is stored under the following path - profiles.[profile-name].render. Example shore config:

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

eyal-mor avatar Feb 16 '23 12:02 eyal-mor