blob: 58c1608b30da2220c5e2fb3ed55b3a5eaca0eb66 (
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
|
- job:
name: lt-qcom-debian-images-arm64-dragonboard820c
project-type: freestyle
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
- job-workspace
linaro-landing-team-qualcomm-personnel:
- job-build
- job-cancel
parameters:
- string:
name: VENDOR
default: 'linaro'
- string:
name: OS_FLAVOUR
default: 'stretch'
- string:
name: PLATFORM_NAME
default: 'qcom-snapdragon-arm64'
- string:
name: ROOTFS
default: 'developer,arm64,1800M'
- string:
name: ROOTFS_PARTLABEL
default: 'userdata'
- string:
name: DTBS
default: 'msm8996-mtp.dtb apq8096-db820c.dtb'
- string:
name: SERIAL_CONSOLE
default: 'ttyMSM0'
- string:
name: KERNEL_BRANCH
default: 'db820c/qcomlt-4.9'
- string:
name: BOOTIMG_PAGESIZE
default: '4096'
disabled: false
node: docker-jessie-amd64
display-name: 'Qualcomm Debian based images for Snapdragon 820'
scm:
- git:
url: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git
refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
name: origin
branches:
- refs/heads/${KERNEL_BRANCH}
skip-tag: true
shallow-clone: true
wipe-workspace: false
wrappers:
- timestamps
- build-name:
name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
builders:
- shell:
!include-raw: lt-qcom-debian-images-arm64/builders.sh
- linaro-publish-token:
host: builds.96boards.org
- shell: |
#!/bin/bash
set -ex
trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
# cleanup here, only in case of error in this script
# normal cleanup deferred to later
[ $? = 0 ] && exit;
sudo git clean -fdxq
}
# Create MD5SUMS file
(cd out && md5sum * > MD5SUMS.txt)
# Publish to snapshots
test -d ${HOME}/bin || mkdir ${HOME}/bin
wget https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py
time python ${HOME}/bin/linaro-cp.py \
--server ${PUBLISH_SERVER} \
--link-latest \
out snapshots/dragonboard820c/${VENDOR}/debian/${BUILD_NUMBER}
publishers:
- email:
recipients: 'nicolas.dechesne@linaro.org fathi.boudra@linaro.org'
- email-ext:
recipients: 'qa-team@linaro.org'
always: true
- ircbot:
channels:
- name: '#linaro-lt-qcomm'
password: ${LT_QCOM_KEY}
|