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

### NOTES
# 0. For first time setup look into end of file for "Misc dirs"
# 1. You can prefix any word in following 'list' variables
# with '!' do disable it.
# 2. All lists items will be processed in order they appears in list

### Common options

## STAGES: what TB should do
# update_bb - update bitbake git tree
# update_oe - update OE git tree
# run_builds - run builds
# upload_logs - upload logs to some other place
STAGES="update_bb update_oe !run_builds !upload_logs"

## 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'

# Enable rm_work
RM_WORK=yes

# 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 and wiki tables (empty to disable)
TB_BUILDER=""
# Name for wiki report table (TB_BUILDER is used if empty)
MW_USER=""

# Data for wiki tables (will be autodetected if empty)
# Build host distro
# HOST_DISTRO="<distro name + version> /<userspace arch>"
# Build host machine
# HOST_MACHINE="<cpu model, cores @freq> /<RAM amount>"

## UPLOAD
# Upload command
UPLOAD_CMD="rsync"
# Upload options
UPLOAD_OPTS="-av --delete"
# Upload destination
UPLOAD_DESTDIR="${TB_BUILDER}@server:/var/www/htdocs/testbuilder/logs"

# 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