master-cfg/config/change_sources.py
2019-11-22 13:07:55 +01:00

39 lines
1.6 KiB
Python

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)
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)
return change_sources