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

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

Issue 2355483004: Add CIPD GAE SDK recipe module and packager. (Closed)
Patch Set: pylint Created 4 years, 2 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 2015 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 'depot_tools/cipd',
7 'gae_sdk',
8 'recipe_engine/path',
9 'recipe_engine/platform',
10 'recipe_engine/python',
11 ]
12
13
14 def RunSteps(api):
15 api.cipd.install_client()
16
17 for plat in api.gae_sdk.platforms:
18 out = api.path['build'].join('gae_sdk', '%s_%s' % (plat, api.platform.name))
19 try:
20 api.gae_sdk.fetch(plat, out)
21 except api.gae_sdk.PackageNotFound as e:
22 api.python.failing_step('Failed to fetch', 'No %s package for %s / %s' % (
23 plat, api.platform.name, api.platform.bits))
24
25
26 def GenTests(api):
27 yield (
28 api.test('win') +
29 api.platform('win', 64))
30
31 yield (
32 api.test('linux') +
33 api.platform('linux', 64))
34
35 yield (
36 api.test('mac') +
37 api.platform('mac', 64))
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/gae_sdk/api.py ('k') | scripts/slave/recipe_modules/gae_sdk/example.expected/linux.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698