blob: 881161f6786aef4aab3bc36b955d95bddd01bea2 [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:
Chris Kay7e61b4d2022-01-10 11:48:02 +00008 - build-discarder:
9 days-to-keep: 30
10 parameters:
11 - string:
12 name: CI_REFSPEC
13 default: +refs/heads/master:refs/remotes/origin/master
14 - string:
Saheer Babub495f032025-01-21 23:01:11 +000015 name: JOBS_REFSPEC
16 default: 'refs/heads/master'
17 description: |
18 tf-a-job-configs refspec to use. The master branch is used by default.
19 - string:
Chris Kay7e61b4d2022-01-10 11:48:02 +000020 name: TF_GERRIT_PROJECT
21 default: TF-A/trusted-firmware-a
22 - string:
23 name: TF_GERRIT_BRANCH
24 default: refs/heads/master
25 - string:
26 name: TF_GERRIT_REFSPEC
27 default: +refs/heads/master:refs/remotes/origin/master
28 - string:
29 name: DIRECTORIES
30 default: . ./drivers ./plat ./tools
31 description: List of directories to analyze.
32 builders:
33 - shell: !include-raw: scripts/clone.sh
34 - shell: |
35 mkdir -p output
36
37 cd trusted-firmware-a &&
38 bash ../tf-a-ci-scripts/script/graphs/sloc-viz.bash ${DIRECTORIES} \
39 > ../output.png 2> ../output.tsv
40 publishers:
41 - archive:
42 artifacts: output.*