Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: scripts/slave/recipe_modules/chromite/example.py

Issue 1250393003: CrOS: Update Chromite recipe module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix coverage. Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 DEPS = [ 5 DEPS = [
6 'chromite', 6 'chromite',
7 ] 7 ]
8 8
9 9
10 def RunSteps(api): 10 def RunSteps(api):
11 api.chromite.set_config('base')
12
11 # Basic checkout exercise. 13 # Basic checkout exercise.
12 api.chromite.checkout() 14 api.chromite.checkout()
13 api.chromite.setup_board('amd64-generic', args=['--cache-dir', '.cache']) 15 api.chromite.setup_board('amd64-generic', args=['--cache-dir', '.cache'])
14 api.chromite.build_packages('amd64-generic') 16 api.chromite.build_packages('amd64-generic')
15 api.chromite.cros_sdk('cros_sdk', ['echo', 'hello'], 17 api.chromite.cros_sdk('cros_sdk', ['echo', 'hello'],
16 environ={ 'var1': 'value' }) 18 environ={ 'var1': 'value' })
17 api.chromite.cbuildbot('cbuildbot', 'amd64-generic-full', 19 api.chromite.cbuildbot('cbuildbot', 'amd64-generic-full',
18 args=['--clobber', '--build-dir', '/here/there']) 20 args=['--clobber', '--build-dir', '/here/there'])
19 21
20 22
21 def GenTests(api): 23 def GenTests(api):
22 yield api.test('basic') 24 yield api.test('basic')
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/chromite/config.py ('k') | scripts/slave/recipes/cros/cbuildbot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698