예제 #1
0
        name="GCC configure"))
factoryLibestrSolaris.addStep(
    ShellCommand(command=["gmake", "V=0"], env=solarisenv_gcc))

#Add libfastjson builders for main repo
appendBuilders(
    lc,
    'rsyslog',
    'libestr',
    factoryLibestr,  # Debian 
    factoryLibestr,  # Debian 9
    factoryLibestr,  # Raspbian 
    factoryLibestr,  # Freebsd 
    factoryLibestr,  # Suse 
    factoryLibestr,  # Centos6
    factoryLibestr,  # Centos7
    factoryLibestr,  # Fedora23
    factoryLibestr,  # Fedora64
    factoryLibestr,  # Ubuntu
    factoryLibestr,  # Ubuntu16
    factoryLibestrSolaris,  # Solaris10x64
    factoryLibestrSolaris,  # Solaris10sparc
    factoryLibestrSolaris,  # Solaris11x64
    factoryLibestrSolaris,  # Solaris11sparc
    factoryLibestr,  # UbuntuCron
    factoryLibestr,  # DockerUbuntu
    factoryLibestr,  # DockerUbuntu18
    factoryLibestr,  # DockerUbuntu18on16
    factoryLibestr  # DockerCentos7
)
factoryLibLogNormRaspian.addStep(ShellCommand(command=["autoreconf", "--force", "--verbose", "--install"]))
factoryLibLogNormRaspian.addStep(ShellCommand(command=["./configure", "--prefix=/usr", "--disable-valgrind", "--enable-regexp"], logfiles={"config.log": "config.log"}))
factoryLibLogNormRaspian.addStep(ShellCommand(command=["make", "-j2"]))
factoryLibLogNormRaspian.addStep(ShellCommand(command=["make", "check", "V=0"], logfiles={"test-suite.log": "tests/test-suite.log"}, lazylogfiles=True))
factoryLibLogNormRaspian.addStep(ShellCommand(command=["make", "distcheck", "V=0"], logfiles={"test-suite.log": "tests/test-suite.log"}, lazylogfiles=True, maxTime=3600))
# ---

#Add liblognorm builders for main repo
appendBuilders(	lc, 'rsyslog', 'liblognorm', 
		factoryLibLogNorm,		# Debian 
		factoryLibLogNorm,		# Debian9
		factoryLibLogNormRaspian,	# Raspbian 
		factoryLibLogNormFreeBsd,	# Freebsd 
		factoryLibLogNorm,		# Suse 
		factoryLibLogNorm,		# Centos6
		factoryLibLogNorm, 		# Centos7
		factoryLibLogNormFedora23,	# Fedora23
		factoryLibLogNormFedora64,	# Fedora64
		factoryLibLogNorm, 		# Ubuntu
		factoryLibLogNorm, 		# Ubuntu16
		factoryLibLogNormSolaris,	# Solaris10x64
		factoryLibLogNormSolaris,	# Solaris10sparc
		factoryLibLogNormSolaris,	# Solaris11x64
		factoryLibLogNormSolaris,	# Solaris11sparc
		factoryLibLogNorm,		# UbuntuCron
		factoryLibLogNorm,		# DockerUbuntu
		factoryLibLogNorm,		# DockerUbuntu18
		factoryLibLogNorm,		# DockerUbuntu18on16
		factoryLibLogNorm		# DockerCentos7
		)
                 lazylogfiles=True,
                 maxTime=3600))
# ---

#Add libfastjson builders for main repo
appendBuilders(
    lc,
    'rsyslog',
    'libfastjson',
    factoryLibFastJson,  # Debian 
    factoryLibFastJson,  # Debian9
    factoryLibFastJson,  # Raspbian 
    factoryLibFastJsonFreeBsd,  # Freebsd 
    factoryLibFastJson,  # Suse 
    factoryLibFastJson,  # Centos6
    factoryLibFastJson,  # Centos7
    factoryLibFastJsonFedora23,  # Fedora23
    factoryLibFastJsonFedora64,  # Fedora64
    factoryLibFastJson,  # Ubuntu
    factoryLibFastJson,  # Ubuntu16
    factoryLibFastJsonSolaris,  # Solaris10x64
    factoryLibFastJsonSolaris,  # Solaris10sparc
    factoryLibFastJsonSolaris,  # Solaris11x64
    factoryLibFastJsonSolaris,  # Solaris11sparc
    factoryLibFastJson,  # UbuntuCron
    factoryLibFastJson,  # DockerUbuntu
    factoryLibFastJson,  # DockerUbuntu18
    factoryLibFastJson,  # DockerUbuntu18on18
    factoryLibFastJson  # DockerCentos7
)
예제 #4
0
factoryLibrelpDockerUbuntu18_codecov.addStep(ShellCommand(command=["bash", "-c", "./configure --enable-tls --enable-tls-openssl"], env={'CC': 'gcc', "CFLAGS":"-g -O0 --coverage", "LDFLAGS":"-lgcov"}, logfiles={"config.log": "config.log"}, haltOnFailure=True, name="configure (gcc, coverage)"))
factoryLibrelpDockerUbuntu18_codecov.addStep(ShellCommand(command=["make", "check", "V=0"], env={'UNDER_CI':'YES'}, logfiles={"test-suite.log": "tests/test-suite.log"}, lazylogfiles=True, maxTime=1800, haltOnFailure=False, name="check"))
factoryLibrelpDockerUbuntu18_codecov.addStep(ShellCommand(command=["bash", "-c", "curl -s https://codecov.io/bash >codecov.sh; chmod +x codecov.sh; ./codecov.sh -t" + g['secret_CODECOV_TOKEN_LIBRELP'] + " -n\"librelp buildbot PR\"; rm codecov.sh; find . -name '*.gcov' || exit 0"], env={'CI_BUILD_URL': util.URLForBuild, 'VCS_SLUG':util.Property('buildername')}, name="CodeCov upload"))

#Add libfastjson builders for main repo
appendBuilders( lc, 'rsyslog', 'librelp',
		factoryLibrelp,		# Debian 
		factoryLibrelp,		# Debian9
		factoryLibrelp_no_valgrind,	# Raspbian 
		factoryLibrelp,		# Freebsd 
		factoryLibrelp,		# Suse 
		factoryLibrelp,		# Centos6
		factoryLibrelp,		# Centos7
		factoryLibrelp,		# Fedora23
		factoryLibrelp,		# Fedora64
		factoryLibrelp,		# Ubuntu
		factoryLibrelp,		# Ubuntu16
		factoryLibrelpSolaris,	# Solaris10x64
		factoryLibrelpSolaris,	# Solaris10sparc
		factoryLibrelpSolaris,	# Solaris11x64
		factoryLibrelpSolaris,	# Solaris11sparc
		factoryLibrelp,		# UbuntuCron
		factoryLibrelp,		# DockerUbuntu
		factoryLibrelp_asan_ubsan,	# DockerUbuntu18
		factoryLibrelp,		# DockerUbuntu18on16
		factoryLibrelp,		# DockerCentos7
		)

lc['builders'].append(
   BuilderConfig(name="librelp freebsd",
     workernames=[  "slave-freebsd12" ],
      factory=factoryLibrelpFreebsd,