blob: 60d42e5cd1fdb900b09e01bdaa1b7c1d69e00725 [file] [log] [blame]
Leonardo Sandovaldc2a03a2020-10-05 18:12:19 -05001- scm:
2 name: tf-a-ci-scripts
3 scm:
4 - git:
5 url: https://git.trustedfirmware.org/ci/tf-a-ci-scripts.git
6 refspec: +refs/heads/master:refs/remotes/origin/master
7 name: origin
8 branches:
9 - refs/heads/master
10 basedir: tf-a-ci-scripts
11 skip-tag: true
12 shallow-clone: true
13 wipe-workspace: false
14
15- job:
16 name: tf-ci-gateway
17 node: master
18 project-type: freestyle
19 concurrent: true
20 disabled: false
21 defaults: global
22 description: |
23 Main job entry point for a Trusted Firmware A (TF-A) CI.
24 properties:
25 - build-discarder:
26 days-to-keep: 180
27 num-to-keep: 180
28 - throttle:
29 option: project
30 enabled: true
31 max-per-node: 3
32 max-total: 10
33 - authorization:
34 anonymous:
35 - job-read
36 - job-extended-read
37 lsandov1:
38 - job-read
39 - job-extended-read
40 - job-build
41 - job-cancel
42 - run-update
43 wrappers:
44 - credentials-binding:
45 - ssh-user-private-key:
46 credential-id: TFA_CI_BOT_USER_SSH_KEY
47 key-file-variable: CI_BOT_KEY
48 username-variable: CI_BOT_USERNAME
49 passphrase-variable: ''
50 - workspace-cleanup
51 - timeout:
52 timeout: 180
53 fail: true
54 - timestamps
55 parameters:
56 - string:
57 name: TEST_GROUPS
58 default: tf-l2-boot-tests-cortex/fvp-default:fvp-linux-dtb-fip.uboot-cortexa35x4-debug
59 description: |
60 White space separated list of test configs: can be mix of specific
61 test configs (e.g., <code>l1/fvp-default:fvp-linux-default</code>) and
62 group names (e.g., <code>l1 l2</code>).
63 - bool:
64 name: ENABLE_STATIC_CHECK
65 default: false
66 scm:
67 - tf-a-ci-scripts
68 builders:
69 - shell: |-
70 #!/bin/bash
71 set -e
72 CI_ROOT=${PWD}/tf-a-ci-scripts
73 export workspace=$PWD
74 export test_groups=$TEST_GROUPS
75 $CI_ROOT/script/gen_test_desc.py
76 - trigger-builds:
77 - project:
78 - tf-a-parameterized-builder
79 block: false
80 current-parameters: true
81 property-file-fail-on-missing: false
82 parameter-factories:
83 - factory: binaryfile
84 parameter-name: TEST_DESC
85 file-pattern: '*.test'
86 no-files-found-action: FAIL