buildbot-stockholm: add more changesources
This commit is contained in:
parent
9c78fb6039
commit
52017e173e
|
@ -4,6 +4,14 @@ let
|
||||||
|
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
|
|
||||||
|
sourceRepos = [
|
||||||
|
"http://cgit.enklave.r/stockholm"
|
||||||
|
"http://cgit.gum.r/stockholm"
|
||||||
|
"http://cgit.hotdog.r/stockholm"
|
||||||
|
"http://cgit.ni.r/stockholm"
|
||||||
|
"http://cgit.prism.r/stockholm"
|
||||||
|
];
|
||||||
|
|
||||||
build = pkgs.writeDash "build" ''
|
build = pkgs.writeDash "build" ''
|
||||||
set -eu
|
set -eu
|
||||||
export USER="$1"
|
export USER="$1"
|
||||||
|
@ -31,17 +39,16 @@ in
|
||||||
slaves = {
|
slaves = {
|
||||||
testslave = "lasspass";
|
testslave = "lasspass";
|
||||||
};
|
};
|
||||||
change_source.stockholm = ''
|
change_source.stockholm = concatMapStrings (repo: ''
|
||||||
stockholm_repo = 'http://cgit.hotdog.r/stockholm'
|
|
||||||
cs.append(
|
cs.append(
|
||||||
changes.GitPoller(
|
changes.GitPoller(
|
||||||
stockholm_repo,
|
"${repo}",
|
||||||
workdir='stockholm-poller', branches=True,
|
workdir='stockholm${elemAt(splitString "." repo) 1}', branches=True,
|
||||||
project='stockholm',
|
project='stockholm',
|
||||||
pollinterval=10
|
pollinterval=10
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
'';
|
'') sourceRepos;
|
||||||
scheduler = {
|
scheduler = {
|
||||||
auto-scheduler = ''
|
auto-scheduler = ''
|
||||||
sched.append(
|
sched.append(
|
||||||
|
@ -69,7 +76,7 @@ in
|
||||||
builder_pre = ''
|
builder_pre = ''
|
||||||
# prepare grab_repo step for stockholm
|
# prepare grab_repo step for stockholm
|
||||||
grab_repo = steps.Git(
|
grab_repo = steps.Git(
|
||||||
repourl=stockholm_repo,
|
repourl=util.Property('repository', 'http://cgit.hotdog.r/stockholm'),
|
||||||
mode='full',
|
mode='full',
|
||||||
submodules=True,
|
submodules=True,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue