mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-20 00:51:27 -08:00
Fix yq must split in target directory
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
CI: Fix `yq` must `split-expr` in the target directory directly.
|
||||
@@ -32,7 +32,7 @@ render_values_file() {
|
||||
-a cert-manager.io/v1/Certificate \
|
||||
-f "$values" "$chart_dir") | \
|
||||
yq ea '[.] | .[] | splitDoc' | \
|
||||
yq -s "\"$output_dir/$values_file/\" + ([.kind, .metadata.name] | join(\"-\") | downcase) + \".yaml\""
|
||||
(cd "$output_dir/$values_file" && yq -s "([.kind, .metadata.name] | join(\"-\") | downcase) + \".yaml\"")
|
||||
}
|
||||
export -f render_values_file
|
||||
export chart_dir output_dir
|
||||
|
||||
Reference in new issue
Block a user