blob: a9a7d3eafac44bee15e98f5cd0ba93352f2586bf (
plain)
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
- job:
name: lkft-lava-staging-aosp
project-type: matrix
defaults: global
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
- job-workspace
linaro:
- job-read
- job-extended-read
- job-build
- job-cancel
- build-discarder:
days-to-keep: 30
num-to-keep: 30
artifact-num-to-keep: 1
parameters:
- string:
name: REFERENCE_BUILD_URL
default: 'http://testdata.validation.linaro.org/lkft/aosp/current/'
disabled: true
node: master
display-name: 'LKFT - LAVA staging submit AOSP'
triggers:
- timed: 'H 0 * * *'
axes:
- axis:
type: user-defined
name: BUILD_NAME
values:
- 'lkft-hikey-aosp-4.4'
- 'lkft-hikey-aosp-4.9'
- axis:
type: user-defined
name: QA_SERVER
values:
- 'https://qa-reports.linaro.org'
- 'https://staging-qa-reports.linaro.org'
- axis:
type: user-defined
name: DEVICE_TYPE
values:
- 'hi6220-hikey'
execution-strategy:
sequential: false
wrappers:
- timestamps
- credentials-binding:
- text:
credential-id: QA_REPORTS_TOKEN
variable: QA_REPORTS_TOKEN
- text:
credential-id: ARTIFACTORIAL_TOKEN
variable: ARTIFACTORIAL_TOKEN
builders:
- shell: |
#!/bin/bash
if [ ${QA_SERVER} = "https://staging-qa-reports.linaro.org" ]; then
export LAVA_SERVER=https://staging.validation.linaro.org/RPC2/
elif [ ${QA_SERVER} = "https://qa-reports.linaro.org" ]; then
export LAVA_SERVER=https://lkft.validation.linaro.org/RPC2/
fi
export DOWNLOAD_URL="https://snapshots.linaro.org/android/lkft/${BUILD_NAME}/latest/"
export KERNEL_BRANCH=${BUILD_NAME}
export KERNEL_VERSION=${BUILD_NAME}
export KERNEL_REPO="https://android.googlesource.com/kernel/hikey-linaro"
export KERNEL_COMMIT="lkft-lava-staging-aosp-${BUILD_NUMBER}"
export KERNEL_DESCRIBE="Kernel Describe"
rm -rf configs
git clone --depth 1 http://git.linaro.org/ci/job/configs.git
python configs/openembedded-lkft/submit_for_testing.py \
--device-type ${DEVICE_TYPE} \
--build-number ${BUILD_NUMBER} \
--lava-server ${LAVA_SERVER} \
--qa-server ${QA_SERVER} \
--qa-server-team staging-lkft \
--qa-server-project "aosp-${KERNEL_BRANCH}" \
--git-commit ${BUILD_NUMBER} \
--template-path configs/lkft/lava-job-definitions \
--template-names template-boot.yaml template-vts-kernel-part1.yaml template-vts-kernel-part2.yaml template-vts-kernel-part3.yaml template-vts-kernel-part4.yaml template-vts-staging-kernel.yaml \
--quiet
# for CTS_MODULE_NAME in CtsVmTestCases CtsLibcoreTestCases CtsBionicTestCases \
# CtsCompilationTestCases CtsDramTestCases CtsFileSystemTestCases \
# CtsHardwareTestCases CtsJobSchedulerTestCases CtsOsTestCases \
# CtsPermissionTestCases CtsPermission2TestCases CtsSecurityTestCases \
# CtsUsbTests
# do
# export CTS_MODULE_NAME=${CTS_MODULE_NAME}
# python configs/openembedded-lkft/submit_for_testing.py \
# --device-type ${DEVICE_TYPE} \
# --build-number ${BUILD_NUMBER} \
# --lava-server ${LAVA_SERVER} \
# --qa-server ${QA_SERVER} \
# --qa-server-team staging-lkft \
# --qa-server-project "aosp-${KERNEL_BRANCH}" \
# --git-commit ${BUILD_NUMBER} \
# --template-path configs/lkft/lava-job-definitions \
# --template-names template-cts.yaml \
# --quiet
# done
publishers:
- groovy-postbuild:
script:
!include-raw: openembedded-lkft/postbuild.groovy
- email-ext:
recipients: 'fathi.boudra@linaro.org, milosz.wasilewski@linaro.org, naresh.kamboju@linaro.org'
always: true
matrix-trigger: only-parent
|