comparison master.cfg @ 39:13f4c49e9a4b

attempt to perform timed mxe-octave builds only if something has changed
author John W. Eaton <jwe@octave.org>
date Fri, 27 Aug 2021 10:23:37 -0400
parents 6d7c3a59c1e7
children efebc388ad75
comparison
equal deleted inserted replaced
38:6d7c3a59c1e7 39:13f4c49e9a4b
85 c["change_source"].append (HgPoller (project = "mxe-octave", 85 c["change_source"].append (HgPoller (project = "mxe-octave",
86 repourl = mxe_octave_hg_repo, 86 repourl = mxe_octave_hg_repo,
87 workdir = "mxe-octave-hg-repo", 87 workdir = "mxe-octave-hg-repo",
88 pollinterval = 15*60)) 88 pollinterval = 15*60))
89 89
90 c["change_source"].append (HgPoller (project = "release mxe-octave",
91 branch = "release",
92 repourl = mxe_octave_hg_repo,
93 workdir = "mxe-octave-hg-repo",
94 pollinterval = 15*60))
95
90 ## FILTERS 96 ## FILTERS
91 97
92 from buildbot.changes import filter 98 from buildbot.plugins import util
93 99
94 octave_default_filter = filter.ChangeFilter (project = "octave", branch = "default") 100 octave_default_filter = util.ChangeFilter (project = "octave")
95 101
96 octave_stable_filter = filter.ChangeFilter (project = "stable octave", branch = "stable") 102 octave_stable_filter = util.ChangeFilter (project = "stable octave")
97 103
98 mxe_octave_default_filter = filter.ChangeFilter (project = "mxe-octave", branch = "default") 104 mxe_octave_default_filter = util.ChangeFilter (project = ["mxe-octave", "octave"])
105 mxe_octave_release_filter = util.ChangeFilter (project = ["release mxe-octave"])
106 mxe_octave_stable_filter = util.ChangeFilter (project = ["release mxe-octave", "stable octcave"])
99 107
100 ## SCHEDULERS 108 ## SCHEDULERS
101 109
102 ## Configure the Schedulers, which decide how to react to incoming 110 ## Configure the Schedulers, which decide how to react to incoming
103 ## changes. 111 ## changes.
164 172
165 ## Here, branch is the mxe-octave branch. 173 ## Here, branch is the mxe-octave branch.
166 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32", 174 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32",
167 branch = "default", 175 branch = "default",
168 change_filter = mxe_octave_default_filter, 176 change_filter = mxe_octave_default_filter,
177 onlyIfChanged = True,
169 builderNames = ["w32-on-debian"], 178 builderNames = ["w32-on-debian"],
170 hour = 6)) 179 hour = 6))
171 180
172 ## Here, branch is the mxe-octave branch. 181 ## Here, branch is the mxe-octave branch.
173 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32", 182 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32",
174 branch = "default", 183 branch = "default",
175 change_filter = mxe_octave_default_filter, 184 change_filter = mxe_octave_default_filter,
185 onlyIfChanged = True,
176 builderNames = ["w64-32-on-debian"], 186 builderNames = ["w64-32-on-debian"],
177 hour = 2)) 187 hour = 2))
178 188
179 ## Here, branch is the mxe-octave branch. 189 ## Here, branch is the mxe-octave branch.
180 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64", 190 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64",
181 branch = "default", 191 branch = "default",
182 change_filter = mxe_octave_default_filter, 192 change_filter = mxe_octave_default_filter,
193 onlyIfChanged = True,
183 builderNames = ["w64-64-on-debian"], 194 builderNames = ["w64-64-on-debian"],
184 hour = 2)) 195 hour = 2))
185 196
186 ## Here, branch is the mxe-octave branch. 197 ## Here, branch is the mxe-octave branch.
187 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32-release", 198 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32-release",
188 branch = "default", 199 branch = "default",
189 change_filter = mxe_octave_default_filter, 200 change_filter = mxe_octave_release_filter,
201 onlyIfChanged = True,
190 builderNames = ["w32-release-on-debian"], 202 builderNames = ["w32-release-on-debian"],
191 hour = 10)) 203 hour = 10))
192 204
193 ## Here, branch is the mxe-octave branch. 205 ## Here, branch is the mxe-octave branch.
194 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32-release", 206 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32-release",
195 branch = "default", 207 branch = "default",
196 change_filter = mxe_octave_default_filter, 208 change_filter = mxe_octave_release_filter,
209 onlyIfChanged = True,
197 builderNames = ["w64-32-release-on-debian"], 210 builderNames = ["w64-32-release-on-debian"],
198 hour = 6)) 211 hour = 6))
199 212
200 ## Here, branch is the mxe-octave branch. 213 ## Here, branch is the mxe-octave branch.
201 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64-release", 214 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64-release",
202 branch = "default", 215 branch = "default",
203 change_filter = mxe_octave_default_filter, 216 change_filter = mxe_octave_release_filter,
217 onlyIfChanged = True,
204 builderNames = ["w64-64-release-on-debian"], 218 builderNames = ["w64-64-release-on-debian"],
205 hour = 6)) 219 hour = 6))
206 220
207 ## Here, branch is the mxe-octave branch. 221 ## Here, branch is the mxe-octave branch.
208 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32-stable", 222 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w32-stable",
209 branch = "default", 223 branch = "default",
210 change_filter = mxe_octave_default_filter, 224 change_filter = mxe_octave_stable_filter,
225 onlyIfChanged = True,
211 builderNames = ["w32-stable-on-debian"], 226 builderNames = ["w32-stable-on-debian"],
212 hour = 14)) 227 hour = 14))
213 228
214 ## Here, branch is the mxe-octave branch. 229 ## Here, branch is the mxe-octave branch.
215 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32-stable", 230 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-32-stable",
216 branch = "default", 231 branch = "default",
217 change_filter = mxe_octave_default_filter, 232 change_filter = mxe_octave_stable_filter,
233 onlyIfChanged = True,
218 builderNames = ["w64-32-stable-on-debian"], 234 builderNames = ["w64-32-stable-on-debian"],
219 hour = 10)) 235 hour = 10))
220 236
221 ## Here, branch is the mxe-octave branch. 237 ## Here, branch is the mxe-octave branch.
222 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64-stable", 238 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-w64-64-stable",
223 branch = "default", 239 branch = "default",
224 change_filter = mxe_octave_default_filter, 240 change_filter = mxe_octave_stable_filter,
241 onlyIfChanged = True,
225 builderNames = ["w64-64-stable-on-debian"], 242 builderNames = ["w64-64-stable-on-debian"],
226 hour = 10)) 243 hour = 10))
227 244
228 ## Here, branch is the mxe-octave branch. 245 ## Here, branch is the mxe-octave branch.
229 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-native", 246 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-native",
230 branch = "default", 247 branch = "default",
231 change_filter = mxe_octave_default_filter, 248 change_filter = mxe_octave_default_filter,
249 onlyIfChanged = True,
232 builderNames = ["mxe-native-on-debian"], 250 builderNames = ["mxe-native-on-debian"],
233 hour = 18)) 251 hour = 18))
234 252
235 ## Here, branch is the mxe-octave branch. 253 ## Here, branch is the mxe-octave branch.
236 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-native-all", 254 c["schedulers"].append (timed.Nightly (name = "periodic mxe-octave-native-all",
237 branch = "default", 255 branch = "default",
238 change_filter = mxe_octave_default_filter, 256 change_filter = mxe_octave_default_filter,
257 onlyIfChanged = True,
239 builderNames = ["mxe-native-all-on-debian"], 258 builderNames = ["mxe-native-all-on-debian"],
240 hour = 22)) 259 hour = 22))
241 260
242 ### DISABLED because there doesn't seem to be a way to limit this 261 ### DISABLED because there doesn't seem to be a way to limit this
243 ### action to users logged in to the web interface; instead, forcing 262 ### action to users logged in to the web interface; instead, forcing