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

Side by Side Diff: scripts/slave/recipes/infra/sync_submodules.py

Issue 2041743002: Add sync_submodules builders on master.chromium.infra. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Test expectations Created 4 years, 6 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
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 DEPS = [
6 'sync_submodules',
7 'recipe_engine/properties',
8 ]
9
10
11 DEFAULT_SOURCE_REPO = 'https://chromium.googlesource.com/chromium/src'
12
13
14 def RunSteps(api):
15 source_repo = api.properties.get('source_repo', DEFAULT_SOURCE_REPO)
16 dest_repo = api.properties.get('dest_repo', source_repo + '/codesearch')
17
18 api.sync_submodules(source_repo, dest_repo)
19
20
21 def GenTests(api):
22 yield api.test('basic')
OLDNEW
« no previous file with comments | « masters/master.chromium.infra/slaves.cfg ('k') | scripts/slave/recipes/infra/sync_submodules.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698