elemental-toolkit icon indicating copy to clipboard operation
elemental-toolkit copied to clipboard

Improve pipelines.sh script

Open Itxaka opened this issue 2 years ago • 0 comments

pipelines.sh has some shortcomings that would need to be addressed:

  • support both YQ 4 and 3. This can lead to different environments having a broken output from pipelines so it would be great to have support for both
  • iterate over the flavors/arches in a more sane way. Currently extracting and cutting the full path. Should probably need to be more specific by using either decent yq or jq selections to iterate over both items properly.
  • iterate over directory properly. Currently iterating over ls output which is not recommended. We can use globs there

As extras maybe:

  • Add dry run, output in stdout
  • Add input file, default to config/*.yaml so we can manually test just one config

Itxaka avatar Sep 27 '21 10:09 Itxaka