mirror of
https://github.com/element-hq/ess-helm.git
synced 2026-11-29 13:22:58 -08:00
Don't construct test resources YAML files with .txt in the filename
This commit is contained in:
1 parent
17ee182d9d
commit
ac042cfcba
2 files changed
+6
-3
No files matched your search
@@ -0,0 +1 @@
|
||||
CI: output the YAML of resources into `.yaml` files rather than `.txt.yaml` files.
|
||||
@@ -92,10 +92,12 @@ def collect_ess_logs():
|
||||
|
||||
# Get resources
|
||||
for resource in resources:
|
||||
output_file = f"{destination}/{ns}/{resource}.txt"
|
||||
run_command_to_file(f"kubectl --context=k3d-ess-helm get {resource} -n {ns}", output_file)
|
||||
output_file_prefix = f"{destination}/{ns}/{resource}"
|
||||
run_command_to_file(
|
||||
f"kubectl --context=k3d-ess-helm get {resource} -o yaml -n {ns}", f"{output_file}.yaml"
|
||||
f"kubectl --context=k3d-ess-helm get {resource} -n {ns}", f"{output_file_prefix}.txt"
|
||||
)
|
||||
run_command_to_file(
|
||||
f"kubectl --context=k3d-ess-helm get {resource} -o yaml -n {ns}", f"{output_file_prefix}.yaml"
|
||||
)
|
||||
|
||||
# Get events
|
||||
|
||||
Reference in new issue
Block a user