ci: format all YAML with `yq`
`yq` is the YAML query tool, used for manipulating YAML files. This
change uses the following command to read in and to pretty-print every
YAML file in this repository:
for x in $(find . -name '*.yaml'); do
yq -i -P -oy $x
done
This makes it a bit easier to automate synchronisation between staging
and upstream, as yq always pretty-prints the entire document when
manipulating files.
Signed-off-by: Chris Kay <chris.kay@arm.com>
Change-Id: If973766fa26500d5320612422d1b4999b23439d3
diff --git a/tf-a-test-category-visualization.yaml b/tf-a-test-category-visualization.yaml
index 25ab201..0cf4497 100644
--- a/tf-a-test-category-visualization.yaml
+++ b/tf-a-test-category-visualization.yaml
@@ -1,33 +1,32 @@
- job:
name: tf-a-test-category-visualization
- description: >-
- Generates a visualization of TFTF tests by their test group and category.
+ description: Generates a visualization of TFTF tests by their test group and category.
node: docker-amd64-tf-a-jammy
concurrent: true
properties:
- - build-discarder:
- days-to-keep: 30
+ - build-discarder:
+ days-to-keep: 30
parameters:
- - string:
- name: CI_REFSPEC
- default: +refs/heads/master:refs/remotes/origin/master
- - string:
- name: JOBS_REFSPEC
- default: 'refs/heads/master'
- description: |
- tf-a-job-configs refspec to use. The master branch is used by default.
- - string:
- name: FILTER
- default:
- description: Optional job/group filter string (e.g. <code>juno</code>).
+ - string:
+ name: CI_REFSPEC
+ default: +refs/heads/master:refs/remotes/origin/master
+ - string:
+ name: JOBS_REFSPEC
+ default: refs/heads/master
+ description: |
+ tf-a-job-configs refspec to use. The master branch is used by default.
+ - string:
+ name: FILTER
+ default:
+ description: Optional job/group filter string (e.g. <code>juno</code>).
builders:
- - shell: !include-raw: scripts/clone.sh
- - shell: |
- mkdir -p output
+ - shell: !include-raw: scripts/clone.sh
+ - shell: |
+ mkdir -p output
- cd tf-a-ci-scripts &&
- bash script/graphs/categorize-tests.bash ${FILTER} \
- > ../output.png 2> ../output.tsv
+ cd tf-a-ci-scripts &&
+ bash script/graphs/categorize-tests.bash ${FILTER} \
+ > ../output.png 2> ../output.tsv
publishers:
- - archive:
- artifacts: output.*
+ - archive:
+ artifacts: output.*