summaryrefslogtreecommitdiffstats
path: root/scripts/pokyABConfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pokyABConfig.py')
-rw-r--r--scripts/pokyABConfig.py172
1 files changed, 0 insertions, 172 deletions
diff --git a/scripts/pokyABConfig.py b/scripts/pokyABConfig.py
deleted file mode 100644
index 27fe5e6354..0000000000
--- a/scripts/pokyABConfig.py
+++ /dev/null
@@ -1,172 +0,0 @@
1
2import copy
3
4builders = []
5
6defaultenv = {}
7defaultenv['POKYLIBC'] = 'glibc'
8#defaultenv['PACKAGE_CLASSES'] = 'package_ipk package_deb'
9#defaultenv['BB_NUMBER_THREADS'] = '4'
10#defaultenv['DL_DIR'] = '/srv/poky/sources'
11
12def runImage(factory, machine, image):
13 defaultenv['MACHINE'] = machine
14 factory.addStep(step.ShellCommand, description=["Building", machine, image], command=["./scripts/poky-autobuild", image], env=copy.copy(defaultenv), timeout=10000)
15
16def runComplete(factory):
17 factory.addStep(step.ShellCommand, description=["Mark", "complete"], command=["./scripts/poky-autobuild", "complete"], timeout=600)
18
19def runPreamble(factory):
20 factory.addStep(step.ShellCommand, description=["Run", "preamble"], command=["./scripts/poky-autobuild", "preamble"], timeout=30)
21
22
23from buildbot.process import step, factory
24f3 = factory.BuildFactory()
25f3.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
26runPreamble(f3)
27runImage(f3, 'qemuarm', 'poky-image-minimal')
28runImage(f3, 'qemuarm', 'poky-image-sato')
29runImage(f3, 'qemuarm', 'poky-image-sdk')
30runImage(f3, 'spitz', 'poky-image-minimal')
31runImage(f3, 'spitz', 'poky-image-sato')
32runImage(f3, 'spitz', 'poky-image-sdk')
33runImage(f3, 'akita', 'poky-image-minimal')
34runImage(f3, 'akita', 'poky-image-sato')
35runImage(f3, 'c7x0', 'poky-image-minimal')
36runImage(f3, 'c7x0', 'poky-image-sato')
37runImage(f3, 'cm-x270', 'poky-image-minimal')
38runImage(f3, 'cm-x270', 'poky-image-sato')
39runImage(f3, 'em-x270', 'poky-image-minimal')
40runImage(f3, 'em-x270', 'poky-image-sato')
41runImage(f3, 'htcuniversal', 'poky-image-minimal')
42runImage(f3, 'htcuniversal', 'poky-image-sato')
43runImage(f3, 'mx31litekit', 'poky-image-minimal')
44runImage(f3, 'mx31litekit', 'poky-image-sato')
45runImage(f3, 'mx31phy', 'poky-image-minimal')
46runImage(f3, 'mx31phy', 'poky-image-sato')
47runImage(f3, 'mx31ads', 'poky-image-minimal')
48runImage(f3, 'mx31ads', 'poky-image-sato')
49runImage(f3, 'zylonite', 'poky-image-minimal')
50runImage(f3, 'zylonite', 'poky-image-sato')
51runImage(f3, 'nokia770', 'poky-image-minimal')
52runImage(f3, 'nokia770', 'poky-image-sato')
53runImage(f3, 'nokia800', 'poky-image-minimal')
54runImage(f3, 'nokia800', 'poky-image-sato')
55runImage(f3, 'nokia800', 'poky-image-sdk')
56runImage(f3, 'om-gta01', 'poky-image-minimal')
57runImage(f3, 'om-gta01', 'poky-image-sato')
58runImage(f3, 'om-gta02', 'poky-image-minimal')
59runImage(f3, 'om-gta02', 'poky-image-sato')
60runImage(f3, 'omap-3430ldp', 'poky-image-minimal')
61runImage(f3, 'omap-3430ldp', 'poky-image-sato')
62runImage(f3, 'beagleboard', 'poky-image-minimal')
63runImage(f3, 'beagleboard', 'poky-image-sato')
64runImage(f3, 'qemux86', 'poky-image-minimal')
65runImage(f3, 'qemux86', 'poky-image-sato')
66runImage(f3, 'qemux86', 'poky-image-sdk')
67runImage(f3, 'netbook', 'poky-image-minimal')
68runImage(f3, 'netbook', 'poky-image-minimal-live')
69runImage(f3, 'netbook', 'poky-image-sato')
70runImage(f3, 'netbook', 'poky-image-sato-live')
71runImage(f3, 'netbook', 'poky-image-live')
72runImage(f3, 'netbook', 'poky-image-sdk')
73runImage(f3, 'bootcdx86', 'poky-image-sato-cd')
74defaultenv['POKYLIBC'] = 'uclibc'
75runImage(f3, 'cm-x270', 'poky-image-minimal-mtdutils')
76defaultenv['POKYLIBC'] = 'glibc'
77runComplete(f3)
78
79from buildbot.process import step, factory
80f4 = factory.BuildFactory()
81f4.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
82runPreamble(f4)
83f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images"], command="/bin/rm build/tmp/deploy/images/poky-image* || /bin/true", timeout=600)
84f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images", "step 2"], command="/bin/rm build/tmp/deploy/images/rootfs* || /bin/true", timeout=600)
85runImage(f4, 'qemuarm', 'poky-image-sdk')
86runImage(f4, 'qemuarm', 'world')
87runImage(f4, 'qemux86', 'poky-image-sdk')
88runImage(f4, 'qemux86', 'world')
89runImage(f4, 'omap-3430ldp', 'poky-image-sato')
90runImage(f4, 'netbook', 'poky-image-sato-live')
91runComplete(f4)
92
93from buildbot.process import step, factory
94f5 = factory.BuildFactory()
95f5.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
96runPreamble(f5)
97defaultenv['DISTRO'] = 'poky-bleeding'
98runImage(f5, 'akita', 'poky-image-sato')
99runImage(f5, 'qemuarm', 'poky-image-sato')
100runComplete(f5)
101
102from buildbot.process import step, factory
103f6 = factory.BuildFactory()
104f6.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
105runPreamble(f6)
106defaultenv['DISTRO'] = 'poky'
107runImage(f6, 'qemuarm', 'meta-toolchain')
108runImage(f6, 'qemuarm', 'meta-toolchain-sdk')
109runImage(f6, 'qemux86', 'meta-toolchain')
110runImage(f6, 'qemux86', 'meta-toolchain-sdk')
111runImage(f6, 'qemuarm', 'world -c checkuriall')
112runComplete(f6)
113
114from buildbot.process import step, factory
115f7 = factory.BuildFactory()
116f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000)
117runPreamble(f7)
118defaultenv['DISTRO'] = 'poky'
119defaultenv['POKYLIBC'] = 'dummy'
120runImage(f7, 'ipodtouch', 'meta-clutter')
121runImage(f7, 'ipodtouch', 'meta-toolchain')
122runImage(f7, 'ipodtouch', 'meta-toolchain-sdk')
123defaultenv['POKYLIBC'] = 'glibc'
124runComplete(f7)
125
126#from buildbot.process import step, factory
127#f7 = factory.BuildFactory()
128#f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000)
129#runPreamble(f7)
130#defaultenv['DISTRO'] = 'poky'
131#runImage(f7, 'qemuarm', 'world')
132#runImage(f7, 'qemux86', 'world')
133#runComplete(f7)
134
135b3 = {'name': "poky-full-shihtzu",
136 'slavename': "shihtzu-autobuild",
137 'builddir': "full-shihtzu",
138 'factory': f3,
139 }
140
141b4 = {'name': "poky-incremental-shihtzu",
142 'slavename': "shihtzu-autobuild",
143 'builddir': "incremental-shihtzu",
144 'factory': f4
145 }
146
147b5 = {'name': "poky-full-bleeding-shihtzu",
148 'slavename': "shihtzu-autobuild",
149 'builddir': "full-bleeding-shihtzu",
150 'factory': f5
151 }
152
153b6 = {'name': "poky-toolchain-shihtzu",
154 'slavename': "shihtzu-autobuild",
155 'builddir': "toolchain-shihtzu",
156 'factory': f6
157 }
158
159b7 = {'name': "poky-full-darwin-shihtzu",
160 'slavename': "shihtzu-autobuild",
161 'builddir': "full-darwin-shihtzu",
162 'factory': f7
163 }
164
165#b7 = {'name': "poky-incremental-world-shihtzu",
166# 'slavename': "shihtzu-autobuild",
167# 'builddir': "incremental-world-shihtzu",
168# 'factory': f7
169# }
170
171poky_builders = [b3, b4, b5, b6, b7]
172