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-result-visualization.yaml b/tf-a-test-result-visualization.yaml
index c003924..3d5e061 100644
--- a/tf-a-test-result-visualization.yaml
+++ b/tf-a-test-result-visualization.yaml
@@ -3,8 +3,7 @@
node: docker-amd64-tf-a-jammy
project-type: freestyle
concurrent: true
- description: >-
- Generates a visualization of the test results from the current job.
+ description: Generates a visualization of the test results from the current job.
disabled: false
properties:
- build-discarder:
@@ -12,34 +11,34 @@
parameters:
- string:
name: TF_GERRIT_PROJECT
- default: 'TF-A/trusted-firmware-a'
+ default: TF-A/trusted-firmware-a
- string:
name: TF_GERRIT_BRANCH
- default: 'refs/heads/integration'
+ default: refs/heads/integration
- string:
name: TF_GERRIT_REFSPEC
- default: '+refs/heads/integration:refs/remotes/origin/integration'
+ default: +refs/heads/integration:refs/remotes/origin/integration
- string:
name: TFTF_GERRIT_PROJECT
- default: 'TF-A/tf-a-tests'
+ default: TF-A/tf-a-tests
- string:
name: TFTF_GERRIT_BRANCH
- default: 'refs/heads/master'
+ default: refs/heads/master
- string:
name: TFTF_GERRIT_REFSPEC
- default: '+refs/heads/master:refs/remotes/origin/master'
+ default: +refs/heads/master:refs/remotes/origin/master
- string:
name: CI_REFSPEC
- default: '+refs/heads/master:refs/remotes/origin/master'
+ default: +refs/heads/master:refs/remotes/origin/master
- string:
name: JOBS_REFSPEC
- default: 'refs/heads/master'
+ default: refs/heads/master
description: |
tf-a-job-configs refspec to use. The master branch is used by default.
- string:
name: TARGET_BUILD
- default: 'tf-a-main/1'
- description: 'Target build to analyze.'
+ default: tf-a-main/1
+ description: Target build to analyze.
builders:
- shell: !include-raw: scripts/clone.sh
- shell: |
@@ -65,6 +64,5 @@
- archive:
artifacts: report.html, tf-a-main*.png, tf-a-main*.csv
- groovy-postbuild:
- script:
- !include-raw:
- - tf-a-ci-gateway/postbuild.groovy
+ script: !include-raw:
+ - tf-a-ci-gateway/postbuild.groovy