forked from GKernelCI/GBuildbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sources.py
32 lines (26 loc) · 824 Bytes
/
sources.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env python
from buildbot.plugins import changes
sources = []
sources.append(changes.GitHubPullrequestPoller(
owner='gentoo',
branches=None,
category='gentoo-pull',
repo='gentoo'))
sources.append(changes.GitPoller(
repourl='https://github.com/gentoo/gentoo.git',
branches=True,
category="gentoo-pull",
workdir="gentoo-repository",
pollinterval=300))
sources.append(changes.GitPoller(
repourl='https://anongit.gentoo.org/git/proj/linux-patches.git',
only_tags=True,
category="gentoo-tags-git",
workdir="linux-patches-tags",
pollinterval=300))
sources.append(changes.GitPoller(
repourl='https://anongit.gentoo.org/git/proj/linux-patches.git',
branches=True,
category="gentoo-git",
workdir="linux-patches-branches",
pollinterval=300))