Skip to content

shore-config - shore config used to determine renderer/executor #26

Open
@eyal-mor

Description

@eyal-mor

Description

Original Author: @dkirillov
The Renderer and Executor/Backend which are part of Dependencies should now be determined by the renderer.type and executor.type found in the shore config.

For this, the shore config will need to be loaded. PersistentPreRunE for the root command runs before any of the other commands run, so most likely this would be the places where the shore config is loaded (LoadShoreConfig used from #174).

Example shore config:

renderer:
  type: jsonnet

executor:
  type: spinnaker
  config:
    ...

profiles:
  default:
    ...

This will set the Renderer to jsonnet and the Executor/Backend to spinnaker in the Dependencies.

Currently, there are only jsonnet and spinnaker types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Backend-SpinnakerThe issue is related to the built-in Spinnaker BackendRenderer-JSONNETThe issue is related to the built-in Jsonnet RendererShore-CLIRelated to the Shore-CLI visualization layer (the CLI itself)enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions