aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/testing/testbuilder/testbuilder.conf.sample
blob: cf795c2265458f733e5a9a7d6efe631ad583684c (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
# Testbuilder config

### NOTES
# 0. For first time setup look into end of file for "Misc dirs"
# 1. All names in BUILDS and BUILD_SETS variables should
# consists only of alphanumeric characters and underscores, 
# and beginning with an alphabetic character or an underscore.
# i.e. [a-zA-Z_][a-zA-Z0-9_]*
# My recommendation is not to use underscore as well
# 2. You can prefix any word in following 'list' variables
# with '!' do disable it.
# 3. All lists items will be processed in order they appears in list

### BUILDS: Define here your build profiles
#
BUILDS="testing master my"

## BUILD: Just some text comment to show in build log
BUILD_testing="Regular build of testing branch"
## OE_BRANCH: OE branch to use for this build
OE_BRANCH_testing="testing-next"
## BB_BRANCH: bitbake branch to use for this build
BB_BRANCH_testing="1.10"
## DISTROS: OE distros
DISTROS_testing="angstrom-2008.1 angstrom-2010.x"
## IMAGES: OE images
IMAGES_testing="console-image x11-image opie-image"
## BUILD_SETS: build all machines in set within same TMPDIR
BUILD_SETS_testing="armv5 mips32 mips64 ppc sh4 i686"
## MACHINES: OE machines per build set
MACHINES_testing_armv5="qemuarm"
MACHINES_testing_mips32="qemumips qemumipsel"
MACHINES_testing_mips64="qemumips64"
MACHINES_testing_ppc="qemuppc"
MACHINES_testing_sh4="qemush4"
MACHINES_testing_i686="qemux86"
## TASKS: What to do exactly
# build_clean - do clean builds
# build_incremental - do incremental builds
TASKS_testing="!build_clean build_incremental"

# Other sample build profile
BUILD_master="Build from master branch"
OE_BRANCH_master="master"
BB_BRANCH_master="master"
# Note that angstrom-2010.x is disabled below ('!' before)
DISTROS_master="!angstrom-2010.x minimal"
IMAGES_master="console-image"
BUILD_SETS_master="zauruses qemux86"
MACHINES_master_zauruses="collie tosa akita"
MACHINES_master_qemu="qemux86"
TASKS_master="build_clean !build_incremental"

# Sample build from local branch
BUILD_my="Build my local branch"
OE_BRANCH_my="my/work"
BB_BRANCH_my="master"
DISTROS_my="minimal"
IMAGES_my="console-image !my-own-image"
# Note BUILD_SETS_my absence
# Every machine will be built in own TMPDIR
MACHINES_my="tosa akita spitz"
TASKS_my="build_clean !build_incremental"


### Common options

## STAGES: what TB should do
# update_bb - update bitbake git tree
# update_oe - update OE git tree
# run_builds - run builds
STAGES="update_bb update_oe !run_builds"

## ACCOUNTING: account some useful things
# df - log free disk space
# ps - log processes count
# vmstat - log vm statistics
ACCOUNTING="!df !ps !vmstat"
# Accounting interval (seconds)
ACCOUNTING_INTERVAL="10"

# Build every image by separate bitbake invocation (lower peak disk usage)
#SEPARATE_BUILD="yes"
# Build all images by single bitbake invocation (slightly faster)
SEPARATE_BUILD="no"

# Number of parallel bitbake threads
BB_NUMBER_THREADS=2
# Number of parallel make threads inside one bitbake thread (-j)
MAKE_NUMBER_THREADS=2

# Bitbake cmdline options
#BB_OPTS='-k'

# Direct build invocation shell variables (-S option)
# PS1 for shell mode
TB_PS1="[TB] "
# Use bash with --norc to disable overriding PS1
TB_SHELL='/bin/bash --norc'
# Use $SHELL variable or fallback to /bin/sh
#TB_SHELL=${SHELL:-'/bin/sh'}

# Name for oestats-client
TB_BUILDER="You_should_change_this"

# Misc dirs
TB_BASE=`pwd`
BB_DIR="${TB_BASE}/bitbake"
OE_DIR="${TB_BASE}/openembedded"
DL_DIR="${TB_BASE}/sources"
BLD_DIR="${TB_BASE}/build"
LOG_DIR="${TB_BASE}/logs"
CLN_DIR="/var/tmp/tb-clean-build"	# TMPDIR for clean builds
INC_DIR="${BLD_DIR}"	# Top dir for incremental builds archive