-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrf-a-crate-generic-lib-testing.yaml
More file actions
93 lines (72 loc) · 2.69 KB
/
rf-a-crate-generic-lib-testing.yaml
File metadata and controls
93 lines (72 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
- job:
name: "rf-a-crate-generic-lib-testing"
node: "docker-amd64-tf-a-jammy"
project-type: "freestyle"
concurrent: true
disabled: false
description: "Run platform independent tests"
properties:
- tf-a-ci-scripts:
download_server_url: "https://downloads.trustedfirmware.org"
download_server_tf_a_url: "https://downloads.trustedfirmware.org/tf-a"
- build-discarder:
days-to-keep: 14
parameters:
- string:
name: "GERRIT_PROJECT"
default: "{gerrit_project_prefix}RF-A/rusted-firmware-a"
- string:
name: "GERRIT_REFSPEC"
default: "main"
- string:
name: "CI_GERRIT_PROJECT"
default: "{gerrit_project_prefix}ci/tf-a-ci-scripts"
- string:
name: "CI_REFSPEC"
default: "master"
- string:
name: "TEST_REPO_PROJECT"
default: "arm-firmware-crates"
description: "Name of the project where the remote repository is located."
- string:
name: "TEST_REPO_NAME"
description: "Name of the remote repository where the tests should be triggered."
- string:
name: "TEST_FEATURES"
description: "Features against which the library will be tested"
scm:
- git:
url: "ssh://review.trustedfirmware.org:29418/${{CI_GERRIT_PROJECT}}"
credentials-id: "TFA_CI_BOT_USER_SSH_KEY"
basedir: "tf-a-ci-scripts"
refspec: "+${{CI_REFSPEC}}:refs/remotes/origin/${{CI_REFSPEC}}"
branches: ["refs/remotes/origin/${{CI_REFSPEC}}"]
extensions:
- honor-refspec: true
- git:
url: "ssh://review.trustedfirmware.org:29418/${{GERRIT_PROJECT}}"
credentials-id: "TFA_CI_BOT_USER_SSH_KEY"
basedir: "${{TEST_REPO_NAME}}"
refspec: "+${{GERRIT_REFSPEC}}:refs/remotes/origin/${{GERRIT_REFSPEC}}"
branches: ["refs/remotes/origin/${{GERRIT_REFSPEC}}"]
extensions:
- honor-refspec: true
wrappers:
- "timestamps"
- timeout:
timeout: 240
fail: true
builders:
- shell: |
#!/bin/bash
set -e
cd ${{WORKSPACE}}
# Executed project-related next checks: platform independent tests with a generic platform.
IS_CONTINUOUS_INTEGRATION=1 ${{WORKSPACE}}/tf-a-ci-scripts/script/next-checks/next-checks-generic-tests.sh \
${{TEST_REPO_PROJECT}} ${{TEST_REPO_NAME}}
publishers:
- archive:
artifacts: "next-generic-checks.log"
- groovy-postbuild:
script: !include-raw-verbatim:
- "rf-a-crate-generic-lib-testing/postbuild.groovy"