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

Side by Side Diff: scripts/slave/recipes/infra/recipe_simulation.expected/normal.json

Issue 1575833003: Add recipe for testing recipe simulation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: review Created 4 years, 11 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
« no previous file with comments | « scripts/slave/recipes/infra/recipe_simulation.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.infra", 8 "chromium.tools.build",
9 "--builder", 9 "--builder",
10 "cipd-module-tester", 10 "recipe simulation tester",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'build', 'url': 'https://chromium.googlesource.com/chrom ium/tools/build.git'}]", 14 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'build', 'url': 'https://chromium.googlesource.com/chrom ium/tools/build.git'}]",
15 "--root", 15 "--root",
16 "build", 16 "build",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"build\": \"got_revision\"}", 18 "{\"build\": \"got_revision\"}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "build@HEAD", 22 "build@deadbeaf",
Michael Achenbach 2016/01/11 16:05:11 Looks like the bot_update api already uses the rev
23 "--force", 23 "--force",
24 "--output_manifest" 24 "--output_manifest"
25 ], 25 ],
26 "cwd": "[SLAVE_BUILD]", 26 "cwd": "[SLAVE_BUILD]",
27 "name": "bot_update", 27 "name": "bot_update",
28 "~followup_annotations": [ 28 "~followup_annotations": [
29 "@@@STEP_TEXT@Some step text@@@", 29 "@@@STEP_TEXT@Some step text@@@",
30 "@@@STEP_LOG_LINE@json.output@{@@@", 30 "@@@STEP_LOG_LINE@json.output@{@@@",
31 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 31 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
(...skipping 11 matching lines...) Expand all
44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"build\", @@@", 44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"build\", @@@",
45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
46 "@@@STEP_LOG_LINE@json.output@}@@@", 46 "@@@STEP_LOG_LINE@json.output@}@@@",
47 "@@@STEP_LOG_END@json.output@@@", 47 "@@@STEP_LOG_END@json.output@@@",
48 "@@@SET_BUILD_PROPERTY@got_revision@\"80754af91bfb6d1073585b046fe0a474ce86 8509\"@@@", 48 "@@@SET_BUILD_PROPERTY@got_revision@\"80754af91bfb6d1073585b046fe0a474ce86 8509\"@@@",
49 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#270553}\"@@@" 49 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#270553}\"@@@"
50 ] 50 ]
51 }, 51 },
52 { 52 {
53 "cmd": [ 53 "cmd": [
54 "python", 54 "[SLAVE_BUILD]/build/scripts/slave/recipes.py",
55 "-u", 55 "fetch"
56 "[SLAVE_BUILD]/build/scripts/tools/run_recipe.py",
57 "infra/cipd_test",
58 "--master-overrides-slave",
59 "--properties-file",
60 "{\"buildername\": \"cipd-module-tester\", \"buildnumber\": 571, \"dir_to_ package\": \"[SLAVE_BUILD]/build/scripts/slave/recipe_modules/cipd\", \"masterna me\": \"chromium.infra\", \"revision_tag\": \"80754af91bfb6d1073585b046fe0a474ce 868509\", \"slavename\": \"TestSlavename\"}"
61 ], 56 ],
62 "cwd": "[SLAVE_BUILD]", 57 "cwd": "[SLAVE_BUILD]",
63 "name": "actual run" 58 "name": "recipe fetch deps"
59 },
60 {
61 "cmd": [
62 "[SLAVE_BUILD]/build/scripts/slave/recipes.py",
63 "simulation_test"
64 ],
65 "cwd": "[SLAVE_BUILD]",
66 "name": "recipe simulation test"
64 }, 67 },
65 { 68 {
66 "name": "$result", 69 "name": "$result",
67 "recipe_result": null, 70 "recipe_result": null,
68 "status_code": 0 71 "status_code": 0
69 } 72 }
70 ] 73 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/infra/recipe_simulation.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698