Exemple #1
0
import projects
from projects import uvcdat
from . import slave

__all__ = [
    'BUILDERS',
]

defprops = {
    'test_excludes:builderconfig': [
    ],

    'slaveenv': {
        'DISPLAY': ':0'
    },
    'webport': '8101'
}

base_features = (
)

buildsets = [
    {
        'os': 'linux',
        'buildtype': 'release',
        'gui': 'OFF'
    },
]

BUILDERS = projects.make_builders(slave, uvcdat, buildsets, defprops)
Exemple #2
0
defprops = {
    'test_excludes:builderconfig': [
    ],

    'configure_options:builderconfig': {
        'TESTING_PORT': '8101',
        'SELENIUM_HOST': 'garant'
    },

    'slaveenv': {
    },
    'webport': '8101'
}

base_features = (
)

buildsets = [
    {
        'os': 'linux',
        'features': ('selenium',),
        'buildtype': 'release'
    },
]

locks = [
    locks.SlaveLock("web_server", maxCount=1).access('exclusive')
]

BUILDERS = projects.make_builders(slave, geojs, buildsets, defprops, locks=locks)
Exemple #3
0
    },
    {
        'os': 'linux',
        'libtype': 'static',
        'buildtype': 'release',
        'features': base_features,
    },
]

# The 'projects' module contains a `make_builders` function which takes the
# project and buildsets and generates the proper build name and CMake
# configuration for each.
BUILDERS = projects.make_builders(slave, project1, buildsets, defprops,
    # Other keyword arguments are passed to the BuilderConfig constructor.
    # Important ones may include 'category' for putting the builds into a
    # category for separating the builds out in the view and 'env' for
    # environment variables.
    category='awesome'
)

# the 'projects' module contains a `merge_config` function which will join two
# dictionaries. For each item, it appends lists together, recursively merges
# dictionary values, and replaces other types. Mismatches between the
# dictionaries will trigger an error. This is useful for making more builders
# which share other options which are not necessary for other builds.
specialprops = projects.merge_config(defprops, {
    # Append an extra test to exclude
    'test_excludes:builderconfig': [
        'flyingpigs', # full moon on Tuesdays
    ],