master-cfg/config/change_sources.py

50 lines
2.2 KiB
Python
Raw Normal View History

2019-09-06 16:49:06 +02:00
from buildbot.plugins import changes
cs_test_c = changes.GitPoller(project='test.c',
repourl='https://git.blackfinn.de/tkl/test.c.git',
branches=True, pollInterval=300)
## gpio_ftdi
cs_gpio_ftdi = changes.GitPoller(project='gpio_ftdi',
repourl='https://git.blackfinn.de/adc_gpio_i2c/gpio_ftdi.git',
branches=True, pollInterval=60)
## gpio_sys
cs_gpio_sys = changes.GitPoller(project='gpio_sys',
repourl='https://git.blackfinn.de/adc_gpio_i2c/gpio_sys.git',
branches=True, pollInterval=60)
## i2c_bb
cs_i2c_bb = changes.GitPoller(project='i2c_bb',
repourl='https://git.blackfinn.de/adc_gpio_i2c/i2c_bb.git',
branches=True, pollInterval=60)
## ads1115
cs_ads1115 = changes.GitPoller(project='ads1115',
repourl='https://git.blackfinn.de/adc_gpio_i2c/ads1115.git',
branches=True, pollInterval=60)
## voltage_app
cs_voltage_app = changes.GitPoller(project='voltage_app',
repourl='https://git.blackfinn.de/adc_gpio_i2c/voltage_app.git',
branches=True, pollInterval=60)
## bicycle-statistics
cs_bicycle_python = changes.GitPoller(project='bicycle-statistics-python',
repourl='https://git.blackfinn.de/python/bicycle-statistics.git',
branches=True, pollInterval=60)
cs_bicycle_docker = changes.GitPoller(project='bicycle-statistics-docker',
repourl='https://git.blackfinn.de/docker/bicycle-statistics.git',
branches=True, pollInterval=60)
def append(change_sources):
change_sources.append(cs_test_c)
change_sources.append(cs_gpio_ftdi)
change_sources.append(cs_gpio_sys)
change_sources.append(cs_i2c_bb)
change_sources.append(cs_ads1115)
change_sources.append(cs_voltage_app)
change_sources.append(cs_bicycle_python)
change_sources.append(cs_bicycle_docker)
return change_sources