| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 7 "config", | 7 "config", |
| 8 "--spec", | 8 "--spec", |
| 9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', '
managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu
m/src.git'}]" | 9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', '
managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu
m/src.git'}]" |
| 10 ], | 10 ], |
| 11 "cwd": "[SLAVE_BUILD]", |
| 11 "env": { | 12 "env": { |
| 12 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 13 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 13 }, | 14 }, |
| 14 "name": "gclient setup" | 15 "name": "gclient setup" |
| 15 }, | 16 }, |
| 16 { | 17 { |
| 17 "cmd": [ | 18 "cmd": [ |
| 18 "python", | 19 "python", |
| 19 "-u", | 20 "-u", |
| 20 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 21 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 21 "sync", | 22 "sync", |
| 22 "--verbose", | 23 "--verbose", |
| 23 "--with_branch_heads", | 24 "--with_branch_heads", |
| 24 "--nohooks", | 25 "--nohooks", |
| 25 "-j8", | 26 "-j8", |
| 26 "--reset", | 27 "--reset", |
| 27 "--force", | 28 "--force", |
| 28 "--upstream", | 29 "--upstream", |
| 29 "--no-nag-max", | 30 "--no-nag-max", |
| 30 "--delete_unversioned_trees", | 31 "--delete_unversioned_trees", |
| 31 "--output-json", | 32 "--output-json", |
| 32 "/path/to/tmp/json" | 33 "/path/to/tmp/json" |
| 33 ], | 34 ], |
| 35 "cwd": "[SLAVE_BUILD]", |
| 34 "env": { | 36 "env": { |
| 35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 36 }, | 38 }, |
| 37 "name": "gclient sync", | 39 "name": "gclient sync", |
| 38 "~followup_annotations": [ | 40 "~followup_annotations": [ |
| 39 "@@@STEP_LOG_LINE@json.output@{@@@", | 41 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 40 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 41 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
| 42 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", |
| 43 "@@@STEP_LOG_LINE@json.output@ }@@@", | 45 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 44 "@@@STEP_LOG_LINE@json.output@ }@@@", | 46 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 45 "@@@STEP_LOG_LINE@json.output@}@@@", | 47 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 46 "@@@STEP_LOG_END@json.output@@@" | 48 "@@@STEP_LOG_END@json.output@@@" |
| 47 ] | 49 ] |
| 48 }, | 50 }, |
| 49 { | 51 { |
| 50 "cmd": [ | 52 "cmd": [ |
| 51 "python", | 53 "python", |
| 52 "-u", | 54 "-u", |
| 53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 54 "recurse", | 56 "recurse", |
| 55 "git", | 57 "git", |
| 56 "config", | 58 "config", |
| 57 "user.name", | 59 "user.name", |
| 58 "local_bot" | 60 "local_bot" |
| 59 ], | 61 ], |
| 62 "cwd": "[SLAVE_BUILD]", |
| 60 "env": { | 63 "env": { |
| 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 64 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 62 }, | 65 }, |
| 63 "name": "gclient recurse (git config user.name)" | 66 "name": "gclient recurse (git config user.name)" |
| 64 }, | 67 }, |
| 65 { | 68 { |
| 66 "cmd": [ | 69 "cmd": [ |
| 67 "python", | 70 "python", |
| 68 "-u", | 71 "-u", |
| 69 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 72 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 70 "recurse", | 73 "recurse", |
| 71 "git", | 74 "git", |
| 72 "config", | 75 "config", |
| 73 "user.email", | 76 "user.email", |
| 74 "local_bot@example.com" | 77 "local_bot@example.com" |
| 75 ], | 78 ], |
| 79 "cwd": "[SLAVE_BUILD]", |
| 76 "env": { | 80 "env": { |
| 77 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 81 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 78 }, | 82 }, |
| 79 "name": "gclient recurse (git config user.email)" | 83 "name": "gclient recurse (git config user.email)" |
| 80 }, | 84 }, |
| 81 { | 85 { |
| 82 "cmd": [ | 86 "cmd": [ |
| 83 "python", | 87 "python", |
| 84 "-u", | 88 "-u", |
| 85 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 89 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 86 "config", | 90 "config", |
| 87 "--spec", | 91 "--spec", |
| 88 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': True, 'name': 'WebKit', 'safesync_url': 'https://blink-status
.appspot.com/lkgr', 'url': 'svn://svn.chromium.org/blink/trunk'}]" | 92 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
True, 'name': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr',
'url': 'svn://svn.chromium.org/blink/trunk'}]" |
| 89 ], | 93 ], |
| 90 "cwd": "[CWD]/src/third_party", | 94 "cwd": "[SLAVE_BUILD]/src/third_party", |
| 91 "env": { | 95 "env": { |
| 92 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 96 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 93 }, | 97 }, |
| 94 "name": "[spec: WebKit] gclient setup" | 98 "name": "[spec: WebKit] gclient setup" |
| 95 }, | 99 }, |
| 96 { | 100 { |
| 97 "cmd": [ | 101 "cmd": [ |
| 98 "python", | 102 "python", |
| 99 "-u", | 103 "-u", |
| 100 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 104 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 101 "sync", | 105 "sync", |
| 102 "--nohooks", | 106 "--nohooks", |
| 103 "--force", | 107 "--force", |
| 104 "--verbose", | 108 "--verbose", |
| 105 "--delete_unversioned_trees", | 109 "--delete_unversioned_trees", |
| 106 "--with_branch_heads", | 110 "--with_branch_heads", |
| 107 "--revision", | 111 "--revision", |
| 108 "third_party/WebKit@123", | 112 "third_party/WebKit@123", |
| 109 "--output-json", | 113 "--output-json", |
| 110 "/path/to/tmp/json" | 114 "/path/to/tmp/json" |
| 111 ], | 115 ], |
| 112 "cwd": "[CWD]/src/third_party", | 116 "cwd": "[SLAVE_BUILD]/src/third_party", |
| 113 "env": { | 117 "env": { |
| 114 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 115 }, | 119 }, |
| 116 "name": "[spec: WebKit] gclient sync", | 120 "name": "[spec: WebKit] gclient sync", |
| 117 "~followup_annotations": [ | 121 "~followup_annotations": [ |
| 118 "@@@STEP_LOG_LINE@json.output@{@@@", | 122 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 119 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 123 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 120 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", | 124 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", |
| 121 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", | 125 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", |
| 122 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 126 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 123 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", | 127 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", |
| 124 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", | 128 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", |
| 125 "@@@STEP_LOG_LINE@json.output@ }@@@", | 129 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 126 "@@@STEP_LOG_LINE@json.output@ }@@@", | 130 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 127 "@@@STEP_LOG_LINE@json.output@}@@@", | 131 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 128 "@@@STEP_LOG_END@json.output@@@", | 132 "@@@STEP_LOG_END@json.output@@@", |
| 129 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" | 133 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" |
| 130 ] | 134 ] |
| 131 }, | 135 }, |
| 132 { | 136 { |
| 133 "cmd": [ | 137 "cmd": [ |
| 134 "python", | 138 "python", |
| 135 "-u", | 139 "-u", |
| 136 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 140 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
| 137 "[CWD]" | 141 "[SLAVE_BUILD]" |
| 138 ], | 142 ], |
| 143 "cwd": "[SLAVE_BUILD]", |
| 139 "name": "cleanup index.lock", | 144 "name": "cleanup index.lock", |
| 140 "~followup_annotations": [ | 145 "~followup_annotations": [ |
| 141 "@@@STEP_LOG_LINE@python.inline@@@@", | 146 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 147 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@@@@", | 148 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 149 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 150 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 151 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 152 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 153 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| 149 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 154 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
| 150 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 155 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
| 151 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 156 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| 152 "@@@STEP_LOG_END@python.inline@@@" | 157 "@@@STEP_LOG_END@python.inline@@@" |
| 153 ] | 158 ] |
| 154 }, | 159 }, |
| 155 { | 160 { |
| 156 "cmd": [ | 161 "cmd": [ |
| 157 "python", | 162 "python", |
| 158 "-u", | 163 "-u", |
| 159 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 164 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 160 "runhooks" | 165 "runhooks" |
| 161 ], | 166 ], |
| 167 "cwd": "[SLAVE_BUILD]", |
| 162 "env": { | 168 "env": { |
| 163 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 169 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 164 }, | 170 }, |
| 165 "name": "gclient runhooks" | 171 "name": "gclient runhooks" |
| 166 }, | 172 }, |
| 167 { | 173 { |
| 168 "name": "$result", | 174 "name": "$result", |
| 169 "recipe_result": null, | 175 "recipe_result": null, |
| 170 "status_code": 0 | 176 "status_code": 0 |
| 171 } | 177 } |
| 172 ] | 178 ] |
| OLD | NEW |