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

Side by Side Diff: scripts/slave/recipes/skia/autoroll.expected/AutoRoll_stopped.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[DEPOT_TOOLS]/gclient.py", 6 "[DEPOT_TOOLS]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]" 9 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
10 ], 10 ],
11 "cwd": "[SLAVE_BUILD]",
11 "name": "gclient setup" 12 "name": "gclient setup"
12 }, 13 },
13 { 14 {
14 "cmd": [ 15 "cmd": [
15 "python", 16 "python",
16 "-u", 17 "-u",
17 "[DEPOT_TOOLS]/gclient.py", 18 "[DEPOT_TOOLS]/gclient.py",
18 "sync", 19 "sync",
19 "--nohooks", 20 "--nohooks",
20 "--force", 21 "--force",
21 "--verbose", 22 "--verbose",
22 "--delete_unversioned_trees", 23 "--delete_unversioned_trees",
23 "--output-json", 24 "--output-json",
24 "/path/to/tmp/json" 25 "/path/to/tmp/json"
25 ], 26 ],
27 "cwd": "[SLAVE_BUILD]",
26 "name": "gclient sync", 28 "name": "gclient sync",
27 "~followup_annotations": [ 29 "~followup_annotations": [
28 "@@@STEP_LOG_LINE@json.output@{@@@", 30 "@@@STEP_LOG_LINE@json.output@{@@@",
29 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 31 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
30 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
31 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 33 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
32 "@@@STEP_LOG_LINE@json.output@ }, @@@", 34 "@@@STEP_LOG_LINE@json.output@ }, @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/skia/\": {@@@", 35 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/skia/\": {@@@",
34 "@@@STEP_LOG_LINE@json.output@ \"revision\": 143121@@@", 36 "@@@STEP_LOG_LINE@json.output@ \"revision\": 143121@@@",
35 "@@@STEP_LOG_LINE@json.output@ }@@@", 37 "@@@STEP_LOG_LINE@json.output@ }@@@",
(...skipping 26 matching lines...) Expand all
62 "name": "git config user.email" 64 "name": "git config user.email"
63 }, 65 },
64 { 66 {
65 "cmd": [ 67 "cmd": [
66 "python", 68 "python",
67 "-u", 69 "-u",
68 "\nimport urllib2\nimport sys\nimport time\n\nattempts = 5\nres = None\nfo r attempt in range(attempts):\n try:\n res = urllib2.urlopen(sys.argv[1]).re ad()\n break\n except urllib2.URLError:\n if attempt == attempts - 1:\n raise\n time.sleep(2 ** attempt)\nwith open(sys.argv[2], 'w') as f:\n f. write(res)\n", 70 "\nimport urllib2\nimport sys\nimport time\n\nattempts = 5\nres = None\nfo r attempt in range(attempts):\n try:\n res = urllib2.urlopen(sys.argv[1]).re ad()\n break\n except urllib2.URLError:\n if attempt == attempts - 1:\n raise\n time.sleep(2 ** attempt)\nwith open(sys.argv[2], 'w') as f:\n f. write(res)\n",
69 "http://skia-tree-status.appspot.com/arb_is_stopped", 71 "http://skia-tree-status.appspot.com/arb_is_stopped",
70 "/path/to/tmp/json" 72 "/path/to/tmp/json"
71 ], 73 ],
74 "cwd": "[SLAVE_BUILD]",
72 "name": "is_stopped", 75 "name": "is_stopped",
73 "~followup_annotations": [ 76 "~followup_annotations": [
74 "@@@STEP_LOG_LINE@json.output@{@@@", 77 "@@@STEP_LOG_LINE@json.output@{@@@",
75 "@@@STEP_LOG_LINE@json.output@ \"is_stopped\": true@@@", 78 "@@@STEP_LOG_LINE@json.output@ \"is_stopped\": true@@@",
76 "@@@STEP_LOG_LINE@json.output@}@@@", 79 "@@@STEP_LOG_LINE@json.output@}@@@",
77 "@@@STEP_LOG_END@json.output@@@", 80 "@@@STEP_LOG_END@json.output@@@",
78 "@@@STEP_LOG_LINE@python.inline@@@@", 81 "@@@STEP_LOG_LINE@python.inline@@@@",
79 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", 82 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
80 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 83 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
81 "@@@STEP_LOG_LINE@python.inline@import time@@@", 84 "@@@STEP_LOG_LINE@python.inline@import time@@@",
(...skipping 16 matching lines...) Expand all
98 { 101 {
99 "cmd": [ 102 "cmd": [
100 "python", 103 "python",
101 "-u", 104 "-u",
102 "\nimport json\nimport re\nimport sys\nimport urllib2\n\nsys.path.insert(0 , sys.argv[4])\nimport rietveld\n\n# Find the active roll, if it exists.\nres = json.load(urllib2.urlopen(\n '%s/search?closed=3&owner=%s&format=json' % (sys .argv[1], sys.argv[2])\n))['results']\nissue = None\nfor i in res:\n if re.sear ch('Roll src/third_party/skia .*:.*', i['subject']):\n issue = i\n break\n \n# Report back the issue number.\nwith open(sys.argv[3], 'w') as f:\n json.dum p({'issue': issue['issue'] if issue else None}, f)\n\n# Uncheck the 'commit' box .\nif issue and issue['commit']:\n r = rietveld.Rietveld(sys.argv[1], None, sys .argv[2])\n r.set_flag(issue['issue'], issue['patchsets'][-1], 'commit', False) \n", 105 "\nimport json\nimport re\nimport sys\nimport urllib2\n\nsys.path.insert(0 , sys.argv[4])\nimport rietveld\n\n# Find the active roll, if it exists.\nres = json.load(urllib2.urlopen(\n '%s/search?closed=3&owner=%s&format=json' % (sys .argv[1], sys.argv[2])\n))['results']\nissue = None\nfor i in res:\n if re.sear ch('Roll src/third_party/skia .*:.*', i['subject']):\n issue = i\n break\n \n# Report back the issue number.\nwith open(sys.argv[3], 'w') as f:\n json.dum p({'issue': issue['issue'] if issue else None}, f)\n\n# Uncheck the 'commit' box .\nif issue and issue['commit']:\n r = rietveld.Rietveld(sys.argv[1], None, sys .argv[2])\n r.set_flag(issue['issue'], issue['patchsets'][-1], 'commit', False) \n",
103 "https://codereview.chromium.org", 106 "https://codereview.chromium.org",
104 "skia-deps-roller@chromium.org", 107 "skia-deps-roller@chromium.org",
105 "/path/to/tmp/json", 108 "/path/to/tmp/json",
106 "[DEPOT_TOOLS]" 109 "[DEPOT_TOOLS]"
107 ], 110 ],
111 "cwd": "[SLAVE_BUILD]",
108 "name": "stop_roll", 112 "name": "stop_roll",
109 "~followup_annotations": [ 113 "~followup_annotations": [
110 "@@@STEP_LOG_LINE@json.output@{@@@", 114 "@@@STEP_LOG_LINE@json.output@{@@@",
111 "@@@STEP_LOG_LINE@json.output@ \"issue\": 1234@@@", 115 "@@@STEP_LOG_LINE@json.output@ \"issue\": 1234@@@",
112 "@@@STEP_LOG_LINE@json.output@}@@@", 116 "@@@STEP_LOG_LINE@json.output@}@@@",
113 "@@@STEP_LOG_END@json.output@@@", 117 "@@@STEP_LOG_END@json.output@@@",
114 "@@@STEP_LOG_LINE@python.inline@@@@", 118 "@@@STEP_LOG_LINE@python.inline@@@@",
115 "@@@STEP_LOG_LINE@python.inline@import json@@@", 119 "@@@STEP_LOG_LINE@python.inline@import json@@@",
116 "@@@STEP_LOG_LINE@python.inline@import re@@@", 120 "@@@STEP_LOG_LINE@python.inline@import re@@@",
117 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 121 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 "@@@STEP_LOG_LINE@python.inline@ params['last_roll_rev'] = full_hash(old) @@@", 184 "@@@STEP_LOG_LINE@python.inline@ params['last_roll_rev'] = full_hash(old) @@@",
181 "@@@STEP_LOG_LINE@python.inline@ params['curr_roll_rev'] = full_hash(new) @@@", 185 "@@@STEP_LOG_LINE@python.inline@ params['curr_roll_rev'] = full_hash(new) @@@",
182 "@@@STEP_LOG_LINE@python.inline@@@@", 186 "@@@STEP_LOG_LINE@python.inline@@@@",
183 "@@@STEP_LOG_LINE@python.inline@urllib2.urlopen(urllib2.Request(@@@", 187 "@@@STEP_LOG_LINE@python.inline@urllib2.urlopen(urllib2.Request(@@@",
184 "@@@STEP_LOG_LINE@python.inline@ sys.argv[4],@@@", 188 "@@@STEP_LOG_LINE@python.inline@ sys.argv[4],@@@",
185 "@@@STEP_LOG_LINE@python.inline@ urllib.urlencode(params)))@@@", 189 "@@@STEP_LOG_LINE@python.inline@ urllib.urlencode(params)))@@@",
186 "@@@STEP_LOG_END@python.inline@@@" 190 "@@@STEP_LOG_END@python.inline@@@"
187 ] 191 ]
188 } 192 }
189 ] 193 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698