blob: 8f6d5541363a64821b8129bd24a50278eedbb54b (
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
|
- job:
name: ynk-lof-pre-rpb
project-type: matrix
defaults: global
logrotate:
daysToKeep: 30
numToKeep: 30
artifactNumToKeep: 1
properties:
- authorization:
anonymous:
- job-read
- job-extended-read
- job-workspace
linaro:
- job-build
- job-cancel
parameters:
- string:
name: MANIFEST_BRANCH
default: 'pre-rpb'
disabled: false
node: build
display-name: 'LHG pre-rpb build'
axes:
- axis:
type: slave
name: label
values:
- lhg
- axis:
type: user-defined
name: image_type
values:
- lof-chromium-image
- axis:
type: user-defined
name: machine_type
values:
- dragonboard-410c
- hikey
execution-strategy:
sequential: true
wrappers:
- timestamps
- matrix-tie-parent:
node: lhg
builders:
- shell: |
#!/bin/bash
set -x
trap cleanup_exit INT TERM EXIT
cleanup_exit()
{
echo "Running cleanup_exit..."
}
mkdir -p ${HOME}/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ${HOME}/bin/repo
chmod a+x ${HOME}/bin/repo
export PATH=${HOME}/bin:${PATH}
# initialize repo if not done already
if [ ! -e ".repo/manifest.xml" ]; then
repo init -u https://github.com/linaro-home/lhg-oe-manifests.git -b ${MANIFEST_BRANCH} -m default.xml
fi
repo sync
repo manifest -r
# the setup-environment will create local.conf, make sure we get rid
# of old config. Let's remove the previous TMPDIR as well. We want
# to preserve build/buildhistory though.
rm -rf build/conf build/tmp-glibc/
MACHINE=${machine_type} source meta-lhg/script/envsetup.sh
bitbake ${image_type}
# just try the build - don't publish anything for now
publishers:
- email:
recipients: 'andrey.konovalov@linaro.org'
|