diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-09 15:27:25 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-05-09 15:28:17 +0100 |
| commit | 62d37206681c3049c5ee7590cb9bce59e782ed15 (patch) | |
| tree | 7b3b091e3c376b2350718c9f418020d1021a3acd /scripts/pokyABConfig.py | |
| parent | 44a88198c129eff0aabd3fb20b999b4bef4aadde (diff) | |
| download | poky-62d37206681c3049c5ee7590cb9bce59e782ed15.tar.gz | |
scripts: Remove autobuilder scripts
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'scripts/pokyABConfig.py')
| -rw-r--r-- | scripts/pokyABConfig.py | 172 |
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 | |||
| 2 | import copy | ||
| 3 | |||
| 4 | builders = [] | ||
| 5 | |||
| 6 | defaultenv = {} | ||
| 7 | defaultenv['POKYLIBC'] = 'glibc' | ||
| 8 | #defaultenv['PACKAGE_CLASSES'] = 'package_ipk package_deb' | ||
| 9 | #defaultenv['BB_NUMBER_THREADS'] = '4' | ||
| 10 | #defaultenv['DL_DIR'] = '/srv/poky/sources' | ||
| 11 | |||
| 12 | def 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 | |||
| 16 | def runComplete(factory): | ||
| 17 | factory.addStep(step.ShellCommand, description=["Mark", "complete"], command=["./scripts/poky-autobuild", "complete"], timeout=600) | ||
| 18 | |||
| 19 | def runPreamble(factory): | ||
| 20 | factory.addStep(step.ShellCommand, description=["Run", "preamble"], command=["./scripts/poky-autobuild", "preamble"], timeout=30) | ||
| 21 | |||
| 22 | |||
| 23 | from buildbot.process import step, factory | ||
| 24 | f3 = factory.BuildFactory() | ||
| 25 | f3.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
| 26 | runPreamble(f3) | ||
| 27 | runImage(f3, 'qemuarm', 'poky-image-minimal') | ||
| 28 | runImage(f3, 'qemuarm', 'poky-image-sato') | ||
| 29 | runImage(f3, 'qemuarm', 'poky-image-sdk') | ||
| 30 | runImage(f3, 'spitz', 'poky-image-minimal') | ||
| 31 | runImage(f3, 'spitz', 'poky-image-sato') | ||
| 32 | runImage(f3, 'spitz', 'poky-image-sdk') | ||
| 33 | runImage(f3, 'akita', 'poky-image-minimal') | ||
| 34 | runImage(f3, 'akita', 'poky-image-sato') | ||
| 35 | runImage(f3, 'c7x0', 'poky-image-minimal') | ||
| 36 | runImage(f3, 'c7x0', 'poky-image-sato') | ||
| 37 | runImage(f3, 'cm-x270', 'poky-image-minimal') | ||
| 38 | runImage(f3, 'cm-x270', 'poky-image-sato') | ||
| 39 | runImage(f3, 'em-x270', 'poky-image-minimal') | ||
| 40 | runImage(f3, 'em-x270', 'poky-image-sato') | ||
| 41 | runImage(f3, 'htcuniversal', 'poky-image-minimal') | ||
| 42 | runImage(f3, 'htcuniversal', 'poky-image-sato') | ||
| 43 | runImage(f3, 'mx31litekit', 'poky-image-minimal') | ||
| 44 | runImage(f3, 'mx31litekit', 'poky-image-sato') | ||
| 45 | runImage(f3, 'mx31phy', 'poky-image-minimal') | ||
| 46 | runImage(f3, 'mx31phy', 'poky-image-sato') | ||
| 47 | runImage(f3, 'mx31ads', 'poky-image-minimal') | ||
| 48 | runImage(f3, 'mx31ads', 'poky-image-sato') | ||
| 49 | runImage(f3, 'zylonite', 'poky-image-minimal') | ||
| 50 | runImage(f3, 'zylonite', 'poky-image-sato') | ||
| 51 | runImage(f3, 'nokia770', 'poky-image-minimal') | ||
| 52 | runImage(f3, 'nokia770', 'poky-image-sato') | ||
| 53 | runImage(f3, 'nokia800', 'poky-image-minimal') | ||
| 54 | runImage(f3, 'nokia800', 'poky-image-sato') | ||
| 55 | runImage(f3, 'nokia800', 'poky-image-sdk') | ||
| 56 | runImage(f3, 'om-gta01', 'poky-image-minimal') | ||
| 57 | runImage(f3, 'om-gta01', 'poky-image-sato') | ||
| 58 | runImage(f3, 'om-gta02', 'poky-image-minimal') | ||
| 59 | runImage(f3, 'om-gta02', 'poky-image-sato') | ||
| 60 | runImage(f3, 'omap-3430ldp', 'poky-image-minimal') | ||
| 61 | runImage(f3, 'omap-3430ldp', 'poky-image-sato') | ||
| 62 | runImage(f3, 'beagleboard', 'poky-image-minimal') | ||
| 63 | runImage(f3, 'beagleboard', 'poky-image-sato') | ||
| 64 | runImage(f3, 'qemux86', 'poky-image-minimal') | ||
| 65 | runImage(f3, 'qemux86', 'poky-image-sato') | ||
| 66 | runImage(f3, 'qemux86', 'poky-image-sdk') | ||
| 67 | runImage(f3, 'netbook', 'poky-image-minimal') | ||
| 68 | runImage(f3, 'netbook', 'poky-image-minimal-live') | ||
| 69 | runImage(f3, 'netbook', 'poky-image-sato') | ||
| 70 | runImage(f3, 'netbook', 'poky-image-sato-live') | ||
| 71 | runImage(f3, 'netbook', 'poky-image-live') | ||
| 72 | runImage(f3, 'netbook', 'poky-image-sdk') | ||
| 73 | runImage(f3, 'bootcdx86', 'poky-image-sato-cd') | ||
| 74 | defaultenv['POKYLIBC'] = 'uclibc' | ||
| 75 | runImage(f3, 'cm-x270', 'poky-image-minimal-mtdutils') | ||
| 76 | defaultenv['POKYLIBC'] = 'glibc' | ||
| 77 | runComplete(f3) | ||
| 78 | |||
| 79 | from buildbot.process import step, factory | ||
| 80 | f4 = factory.BuildFactory() | ||
| 81 | f4.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", timeout=10000) | ||
| 82 | runPreamble(f4) | ||
| 83 | f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images"], command="/bin/rm build/tmp/deploy/images/poky-image* || /bin/true", timeout=600) | ||
| 84 | f4.addStep(step.ShellCommand, description=["Cleaning", "previous", "images", "step 2"], command="/bin/rm build/tmp/deploy/images/rootfs* || /bin/true", timeout=600) | ||
| 85 | runImage(f4, 'qemuarm', 'poky-image-sdk') | ||
| 86 | runImage(f4, 'qemuarm', 'world') | ||
| 87 | runImage(f4, 'qemux86', 'poky-image-sdk') | ||
| 88 | runImage(f4, 'qemux86', 'world') | ||
| 89 | runImage(f4, 'omap-3430ldp', 'poky-image-sato') | ||
| 90 | runImage(f4, 'netbook', 'poky-image-sato-live') | ||
| 91 | runComplete(f4) | ||
| 92 | |||
| 93 | from buildbot.process import step, factory | ||
| 94 | f5 = factory.BuildFactory() | ||
| 95 | f5.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
| 96 | runPreamble(f5) | ||
| 97 | defaultenv['DISTRO'] = 'poky-bleeding' | ||
| 98 | runImage(f5, 'akita', 'poky-image-sato') | ||
| 99 | runImage(f5, 'qemuarm', 'poky-image-sato') | ||
| 100 | runComplete(f5) | ||
| 101 | |||
| 102 | from buildbot.process import step, factory | ||
| 103 | f6 = factory.BuildFactory() | ||
| 104 | f6.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
| 105 | runPreamble(f6) | ||
| 106 | defaultenv['DISTRO'] = 'poky' | ||
| 107 | runImage(f6, 'qemuarm', 'meta-toolchain') | ||
| 108 | runImage(f6, 'qemuarm', 'meta-toolchain-sdk') | ||
| 109 | runImage(f6, 'qemux86', 'meta-toolchain') | ||
| 110 | runImage(f6, 'qemux86', 'meta-toolchain-sdk') | ||
| 111 | runImage(f6, 'qemuarm', 'world -c checkuriall') | ||
| 112 | runComplete(f6) | ||
| 113 | |||
| 114 | from buildbot.process import step, factory | ||
| 115 | f7 = factory.BuildFactory() | ||
| 116 | f7.addStep(step.SVN, svnurl="http://svn.o-hand.com/repos/poky/trunk", mode="copy", timeout=10000) | ||
| 117 | runPreamble(f7) | ||
| 118 | defaultenv['DISTRO'] = 'poky' | ||
| 119 | defaultenv['POKYLIBC'] = 'dummy' | ||
| 120 | runImage(f7, 'ipodtouch', 'meta-clutter') | ||
| 121 | runImage(f7, 'ipodtouch', 'meta-toolchain') | ||
| 122 | runImage(f7, 'ipodtouch', 'meta-toolchain-sdk') | ||
| 123 | defaultenv['POKYLIBC'] = 'glibc' | ||
| 124 | runComplete(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 | |||
| 135 | b3 = {'name': "poky-full-shihtzu", | ||
| 136 | 'slavename': "shihtzu-autobuild", | ||
| 137 | 'builddir': "full-shihtzu", | ||
| 138 | 'factory': f3, | ||
| 139 | } | ||
| 140 | |||
| 141 | b4 = {'name': "poky-incremental-shihtzu", | ||
| 142 | 'slavename': "shihtzu-autobuild", | ||
| 143 | 'builddir': "incremental-shihtzu", | ||
| 144 | 'factory': f4 | ||
| 145 | } | ||
| 146 | |||
| 147 | b5 = {'name': "poky-full-bleeding-shihtzu", | ||
| 148 | 'slavename': "shihtzu-autobuild", | ||
| 149 | 'builddir': "full-bleeding-shihtzu", | ||
| 150 | 'factory': f5 | ||
| 151 | } | ||
| 152 | |||
| 153 | b6 = {'name': "poky-toolchain-shihtzu", | ||
| 154 | 'slavename': "shihtzu-autobuild", | ||
| 155 | 'builddir': "toolchain-shihtzu", | ||
| 156 | 'factory': f6 | ||
| 157 | } | ||
| 158 | |||
| 159 | b7 = {'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 | |||
| 171 | poky_builders = [b3, b4, b5, b6, b7] | ||
| 172 | |||
