summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f4e2606)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
# find gcc and g++ compilers
if cc_version is not None:
factory.addStep(FileDownload(
# find gcc and g++ compilers
if cc_version is not None:
factory.addStep(FileDownload(
mastersrc = "findbin.pl",
slavedest = "../findbin.pl",
mode = 0755))
mastersrc = "findbin.pl",
slavedest = "../findbin.pl",
mode = 0755))
# expire tree if needed
if tree_expire > 0:
factory.addStep(FileDownload(
# expire tree if needed
if tree_expire > 0:
factory.addStep(FileDownload(
doStepIf = IsExpireRequested,
mastersrc = "expire.sh",
slavedest = "../expire.sh",
doStepIf = IsExpireRequested,
mastersrc = "expire.sh",
slavedest = "../expire.sh",
# cleanup.sh if needed
factory.addStep(FileDownload(
# cleanup.sh if needed
factory.addStep(FileDownload(
mastersrc = "cleanup.sh",
slavedest = "../cleanup.sh",
mode = 0755,
mastersrc = "cleanup.sh",
slavedest = "../cleanup.sh",
mode = 0755,
# Git() parameters can't take a renderer until buildbot 0.8.10, so we have to split the fresh and clean cases
# if buildbot is updated, one can use: method = Interpolate('%(prop:do_cleanup:#?|fresh|clean)s')
factory.addStep(Git(
# Git() parameters can't take a renderer until buildbot 0.8.10, so we have to split the fresh and clean cases
# if buildbot is updated, one can use: method = Interpolate('%(prop:do_cleanup:#?|fresh|clean)s')
factory.addStep(Git(
repourl = repo_url,
branch = repo_branch,
mode = 'full',
repourl = repo_url,
branch = repo_branch,
mode = 'full',
repourl = repo_url,
branch = repo_branch,
mode = 'full',
repourl = repo_url,
branch = repo_branch,
mode = 'full',
# seed config
factory.addStep(FileDownload(
# seed config
factory.addStep(FileDownload(
mastersrc = "config.seed",
slavedest = ".config",
mode = 0644
mastersrc = "config.seed",
slavedest = ".config",
mode = 0644
command = ["sed", "-ne", '/^CONFIG_LIBC=/ { s!^CONFIG_LIBC="\\(.*\\)"!\\1!; s!^musl$!!; s!.\\+!-&!p }', ".config"]))
# install build key
command = ["sed", "-ne", '/^CONFIG_LIBC=/ { s!^CONFIG_LIBC="\\(.*\\)"!\\1!; s!^musl$!!; s!.\\+!-&!p }', ".config"]))
# install build key
- factory.addStep(FileDownload(mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600))
- factory.addStep(FileDownload(mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600))
+ factory.addStep(FileDownload(name="dlkeybuild", mastersrc=home_dir+'/key-build', slavedest="key-build", mode=0600))
+ factory.addStep(FileDownload(name="dlkeybuildpub", mastersrc=home_dir+'/key-build.pub', slavedest="key-build.pub", mode=0600))
# prepare dl
factory.addStep(ShellCommand(
# prepare dl
factory.addStep(ShellCommand(
))
factory.addStep(FileDownload(
))
factory.addStep(FileDownload(
mastersrc = "%s/signing/%s.%s.tar.gz" %(home_dir, ts[0], ts[1]),
slavedest = "sign.tar.gz",
haltOnFailure = True
mastersrc = "%s/signing/%s.%s.tar.gz" %(home_dir, ts[0], ts[1]),
slavedest = "sign.tar.gz",
haltOnFailure = True
))
factory.addStep(FileDownload(
))
factory.addStep(FileDownload(
- mastersrc = "rsync.sh",
- slavedest = "../rsync.sh",
- mode = 0755))
+ name = "dlrsync.sh",
+ mastersrc = "rsync.sh",
+ slavedest = "../rsync.sh",
+ mode = 0755
+ ))
factory.addStep(ShellCommand(
name = "targetupload",
factory.addStep(ShellCommand(
name = "targetupload",