Exemplo n.º 1
0
def Builder(sname, flavor, root, board):
  fname = '%s-%s' % (sname, flavor)
  B('Chromium OS (%s) Perf' % sname,
    factory=fname,
    gatekeeper='crosperf',
    builddir='%s-%s-telemetry' % (flavor, board),
    scheduler=_PERF_SCHEDULER_NAME,
    notify_on_missing=True)
  F(fname,
    chromeos_factory.CbuildbotFactory(
      buildroot='/b/cbuild/%s' % root,
      pass_revision=True,
      params='%s-telemetry' % board).get_factory())
def Builder(dname, sname, flavor, root, board):
  fname = '%s-%s' % (sname, flavor)
  B('%s (%s)' % (dname, flavor),
    factory=fname,
    gatekeeper='pfq',
    builddir='%s-tot-chromeos-%s' % (flavor, sname),
    scheduler=_CHROMIUM_SCHEDULER_NAME,
    notify_on_missing=True)
  F(fname,
    chromeos_factory.CbuildbotFactory(
      buildroot='/b/cbuild/%s' % root,
      pass_revision=True,
      params='%s-tot-chrome-pfq-informational' % board).get_factory())
Exemplo n.º 3
0
def create_cbuildbot_factory(checkout_factory, target, gs_path, short_name):
    """Generate and register a ChromeOS builder along with its slave(s).

  Args:
    checkout_factory: Factory with the steps to pull out a Chromium source tree
      (shouldn't contain any compile steps).
    target: Target name in Chrome OS's puppet configuration scripts.
    gs_path: Path to use for build artifact storage.
    short_name: String only used to name the build directory.
  """
    archive_base = 'gs://chromeos-image-archive/%s/%s' % (target, gs_path)
    cbuildbot_params = '--archive-base=%s %s' % (archive_base, target)

    # Extend the checkout_factory with Cbuildbot build steps to build and test
    # CrOS using the Chrome from the above Chromium source tree.
    return chromeos_factory.CbuildbotFactory(
        params=cbuildbot_params,
        buildroot='/b/cbuild.%s' % short_name,
        chrome_root='.',  # Where checkout_factory has put "Chrome".
        factory=checkout_factory,
        slave_manager=False).get_factory()
Exemplo n.º 4
0
def create_cbuildbot_factory(target, gs_path, short_name):
    """Generate and register a ChromeOS builder along with its slave(s).

  Args:
    target: Target name in Chrome OS's puppet configuration scripts.
    gs_path: Path to use for build artifact storage.
    short_name: String only used to name the build directory.
  """
    # Factory with the steps to pull out a Chromium source tree (no compilation).
    # It uses an unused slave_type string to avoid adding the normal compile step.
    chrome_factory = linux().ChromiumFactory(slave_type='WebRtcCros')

    archive_base = 'gs://chromeos-image-archive/%s/%s' % (target, gs_path)
    cbuildbot_params = '--archive-base=%s %s' % (archive_base, target)

    # Extend that factory with Cbuildbot build steps to build and test CrOS using
    # the Chrome from the above Chromium source tree.
    return chromeos_factory.CbuildbotFactory(
        params=cbuildbot_params,
        buildroot='/b/cbuild.%s' % short_name,
        chrome_root='.',  # Where ChromiumFactory has put "Chrome".
        factory=chrome_factory,
        slave_manager=False).get_factory()
Exemplo n.º 5
0
# TODO(petermayo) Make this sensitive to LKGM changes too, crosbug.com/20798

S(name='chromium_cros', branch='src', treeStableTimer=60)

B('ChromiumOS (x86)',
  factory='x86',
  gatekeeper='closer|watch',
  builddir='chromium-tot-chromeos-x86-generic',
  scheduler='chromium_cros',
  auto_reboot=True,
  notify_on_missing=True)
F(
    'x86',
    chromeos_factory.CbuildbotFactory(
        buildroot='/b/cbuild.x86',
        crostools_repo=None,
        pass_revision=True,
        params='x86-generic-tot-chrome-pfq-informational').get_factory())

B(
    'ChromiumOS (amd64)',
    factory='amd64',
    gatekeeper='watch',
    #gatekeeper='closer|watch',
    builddir='chromium-tot-chromeos-amd64',
    scheduler='chromium_cros',
    auto_reboot=True,
    notify_on_missing=True)
F(
    'amd64',
    chromeos_factory.CbuildbotFactory(
Exemplo n.º 6
0
                                tests=asan_tests_3,
                                factory_properties=dict(
                                    fp_chromeos_asan,
                                    browser_total_shards='3',
                                    browser_shard_index='3')))

B('Chromium OS (x86) ASAN',
  factory='x86_asan',
  builddir='chromium-tot-chromeos-x86-generic-asan',
  gatekeeper='crosasantest',
  scheduler='chromeos_asan_rel',
  notify_on_missing=True)
F(
    'x86_asan',
    chromeos_factory.CbuildbotFactory(
        buildroot='/b/cbuild.x86.asan',
        pass_revision=True,
        params='x86-generic-tot-asan-informational').get_factory())

B('Chromium OS (amd64) ASAN',
  factory='amd64_asan',
  builddir='chromium-tot-chromeos-amd64-generic-asan',
  gatekeeper='crosasantest',
  scheduler='chromeos_asan_rel',
  notify_on_missing=True)
F(
    'amd64_asan',
    chromeos_factory.CbuildbotFactory(
        buildroot='/b/cbuild.amd64.asan',
        pass_revision=True,
        params='amd64-generic-tot-asan-informational').get_factory())
defaults['category'] = '2chromiumos'

# TODO(petermayo) Make this sensitive to LKGM changes too, crosbug.com/20798

S(name='chromium_cros', branch='src', treeStableTimer=60)

B('ChromiumOS (x86)',
  factory='x86',
  gatekeeper='closer|watch',
  builddir='chromium-tot-chromeos-x86-generic',
  scheduler='chromium_cros',
  notify_on_missing=True)
F(
    'x86',
    chromeos_factory.CbuildbotFactory(
        buildroot='/b/cbuild.x86',
        pass_revision=True,
        params='x86-generic-tot-chrome-pfq-informational').get_factory())

B(
    'ChromiumOS (amd64)',
    factory='amd64',
    gatekeeper='watch',
    #gatekeeper='closer|watch',
    builddir='chromium-tot-chromeos-amd64',
    scheduler='chromium_cros',
    notify_on_missing=True)
F(
    'amd64',
    chromeos_factory.CbuildbotFactory(
        buildroot='/b/cbuild.amd64',
        pass_revision=True,