blob: 40c4a877ac5c81243d32a781e58ba39bc154a5b4 [file] [log] [blame]
Chris Kay7e61b4d2022-01-10 11:48:02 +00001- job:
2 name: tf-a-sloc-visualization
3 description: >-
4 Generates a visualization of programming languages used by the code-base.
5 node: docker-amd64-tf-a-jammy
6 concurrent: true
7 properties:
8 - authorization: !include: authorization.yaml.inc
9 - build-discarder:
10 days-to-keep: 30
11 parameters:
12 - string:
13 name: CI_REFSPEC
14 default: +refs/heads/master:refs/remotes/origin/master
15 - string:
Saheer Babub495f032025-01-21 23:01:11 +000016 name: JOBS_REFSPEC
17 default: 'refs/heads/master'
18 description: |
19 tf-a-job-configs refspec to use. The master branch is used by default.
20 - string:
Chris Kay7e61b4d2022-01-10 11:48:02 +000021 name: TF_GERRIT_PROJECT
22 default: TF-A/trusted-firmware-a
23 - string:
24 name: TF_GERRIT_BRANCH
25 default: refs/heads/master
26 - string:
27 name: TF_GERRIT_REFSPEC
28 default: +refs/heads/master:refs/remotes/origin/master
29 - string:
30 name: DIRECTORIES
31 default: . ./drivers ./plat ./tools
32 description: List of directories to analyze.
33 builders:
34 - shell: !include-raw: scripts/clone.sh
35 - shell: |
36 mkdir -p output
37
38 cd trusted-firmware-a &&
39 bash ../tf-a-ci-scripts/script/graphs/sloc-viz.bash ${DIRECTORIES} \
40 > ../output.png 2> ../output.tsv
41 publishers:
42 - archive:
43 artifacts: output.*