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

Unified Diff: scripts/slave/recipe_modules/swarming/example.py

Issue 2102153004: Revert "Add CIPD package support to swarming recipe api" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/swarming/example.py
diff --git a/scripts/slave/recipe_modules/swarming/example.py b/scripts/slave/recipe_modules/swarming/example.py
index 20025e1da75da7f6b8aaee7a5c895f0b14037e1b..c1e42938dd691e50267a9027af0ad3242d2338e3 100644
--- a/scripts/slave/recipe_modules/swarming/example.py
+++ b/scripts/slave/recipe_modules/swarming/example.py
@@ -91,7 +91,6 @@ def RunSteps(api, simulated_version,
task.dimensions['os'] = api.swarming.prefered_os_dimension(platform)
task.shards = 2 if platform == 'linux' else 1
task.tags.add('os:' + platform)
- task.cipd_packages = [('bin', 'super/awesome/pkg', 'git_revision:deadbeef')]
tasks.append(task)
# Launch all tasks.
@@ -118,7 +117,7 @@ def RunSteps(api, simulated_version,
def GenTests(api):
yield (
- api.test('basic_0.8') +
+ api.test('basic_0.4') +
api.step_data(
'archive for win',
stdout=api.raw_io.output('hash_for_win hello_world.isolated')) +
@@ -128,10 +127,10 @@ def GenTests(api):
api.step_data(
'archive for mac',
stdout=api.raw_io.output('hash_for_mac hello_world.isolated')) +
- api.properties(simulated_version=(0, 8, 6)))
+ api.properties(simulated_version=(0, 4, 10)))
yield (
- api.test('basic_0.8_trybot') +
+ api.test('basic_0.5') +
api.step_data(
'archive for win',
stdout=api.raw_io.output('hash_for_win hello_world.isolated')) +
@@ -145,10 +144,10 @@ def GenTests(api):
rietveld="https://codereview.chromium.org",
issue="123",
patchset="1001",
- simulated_version=(0, 8, 6)))
+ simulated_version=(0, 5)))
yield (
- api.test('basic_0.8_show_shards_in_collect_step') +
+ api.test('basic_0.5_show_shards_in_collect_step') +
api.step_data(
'archive for win',
stdout=api.raw_io.output('hash_for_win hello_world.isolated')) +
@@ -162,11 +161,11 @@ def GenTests(api):
rietveld="https://codereview.chromium.org",
issue="123",
patchset="1001",
- simulated_version=(0, 8, 6),
+ simulated_version=(0, 5),
show_shards_in_collect_step=True))
yield (
- api.test('basic_0.8_show_isolated_out_in_collect_step') +
+ api.test('basic_0.5_show_isolated_out_in_collect_step') +
api.step_data(
'archive for win',
stdout=api.raw_io.output('hash_for_win hello_world.isolated')) +
@@ -180,5 +179,5 @@ def GenTests(api):
rietveld="https://codereview.chromium.org",
issue="123",
patchset="1001",
- simulated_version=(0, 8, 6),
+ simulated_version=(0, 5),
show_isolated_out_in_collect_step=False))
« no previous file with comments | « scripts/slave/recipe_modules/swarming/api.py ('k') | scripts/slave/recipe_modules/swarming/example.expected/basic_0.4.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698