Separate configs
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
|
||||
# dependencies
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/i2c_bb.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'i2c_bb', 'install', '-j8', 'PREFIX=/worker']))
|
||||
|
||||
# DUT
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/ads1115.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'ads1115', 'check', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'ads1115', 'all', '-j8', 'EXTRA_INC=/worker/include']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'ads1115', 'exec_unit_test', '-j8', 'EXTRA_INC=/worker/include']))
|
||||
factory.addStep(steps.ShellCommand(command='make -C ads1115 clean && make -C ads1115 coverage -j8 EXTRA_INC=/worker/include'))
|
||||
|
||||
builder = util.BuilderConfig(name='ads1115', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/docker/bicycle-statistics.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['docker', 'build', '--no-cache', '-t', 'bicycle-statistics',
|
||||
'./bicycle-statistics']))
|
||||
factory.addStep(steps.ShellCommand(command=['docker', 'rm', '-f', 'bicycle-statistics']))
|
||||
factory.addStep(steps.ShellCommand(command=['docker', 'run', '-d', '-v', '/srv/nextcloud/data/tkl/files/Bicycle:/bs_in',
|
||||
'-v', '/srv/bicycle.blackfinn.de/data:/bs_out', '--name',
|
||||
'bicycle-statistics', '--restart', 'always', 'bicycle-statistics']))
|
||||
|
||||
builder = util.BuilderConfig(name='bicycle_statistics', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
factory.addStep(steps.Git(repourl='https://git.blackfinn.de/adc_gpio_i2c/gpio_ftdi.git', mode='full'))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'check', '-j8']))
|
||||
factory.addStep(steps.Compile(command=['make', 'all', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'build_unit_test', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'exec_unit_test']))
|
||||
factory.addStep(steps.ShellCommand(command='make clean && make coverage'))
|
||||
|
||||
|
||||
builder = util.BuilderConfig(name='gpio_ftdi', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
factory.addStep(steps.Git(repourl='https://git.blackfinn.de/adc_gpio_i2c/gpio_sys.git', mode='full'))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'check', '-j8']))
|
||||
factory.addStep(steps.Compile(command=['make', 'all', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'build_unit_test', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'exec_unit_test']))
|
||||
factory.addStep(steps.ShellCommand(command='make clean && make coverage'))
|
||||
|
||||
builder = util.BuilderConfig(name='gpio_sys', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/i2c_bb.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'i2c_bb', 'check', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'i2c_bb', 'all', '-j8', 'EXTRA_INC=/worker/include']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'i2c_bb', 'exec_unit_test', '-j8', 'EXTRA_INC=/worker/include']))
|
||||
factory.addStep(steps.ShellCommand(command='make -C i2c_bb clean && make -C i2c_bb coverage -j8 EXTRA_INC=/worker/include'))
|
||||
|
||||
builder = util.BuilderConfig(name='i2c_bb', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
factory.addStep(steps.Git(repourl='https://git.blackfinn.de/tkl/test.c.git', mode='full'))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'check', '-j8']))
|
||||
factory.addStep(steps.Compile(command=['make', 'all', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'build_unit_test', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', 'exec_unit_test']))
|
||||
factory.addStep(steps.ShellCommand(command='make clean && make coverage'))
|
||||
|
||||
builder = util.BuilderConfig(name='test.c', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
from buildbot.plugins import steps, util
|
||||
|
||||
factory = util.BuildFactory()
|
||||
|
||||
# dependencies
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/i2c_bb.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'i2c_bb', 'install', '-j8', 'PREFIX=/worker']))
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/ads1115.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'ads1115', 'install', '-j8', 'PREFIX=/worker']))
|
||||
|
||||
# DUT
|
||||
factory.addStep(steps.ShellCommand(command=['git', 'clone', '--branch', 'master',
|
||||
'https://git.blackfinn.de/adc_gpio_i2c/voltage_app.git']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'voltage_app', 'check', '-j8']))
|
||||
factory.addStep(steps.ShellCommand(command=['make', '-C', 'voltage_app', 'all', '-j8',
|
||||
'EXTRA_INC=/worker/include', 'EXTRA_LIB_DIR=/worker/lib']))
|
||||
#factory.addStep(steps.ShellCommand(command=['make', '-C', 'voltage_app', 'build_unit_test', '-j8']))
|
||||
#factory.addStep(steps.ShellCommand(command=['make', '-C', 'voltage_app', 'exec_unit_test']))
|
||||
#factory.addStep(steps.ShellCommand(command='make -C voltage_app clean && make -C voltage_app coverage'))
|
||||
|
||||
builder = util.BuilderConfig(name='voltage_app', workernames=["buildbot-cpp-worker"],
|
||||
factory=factory)
|
||||
|
||||
def append(builders):
|
||||
builders.append(builder)
|
||||
return builders
|
||||
|
||||
Reference in New Issue
Block a user