| 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 "--revision", | 32 "--revision", |
| 32 "src@abc", | 33 "src@abc", |
| 33 "--output-json", | 34 "--output-json", |
| 34 "/path/to/tmp/json" | 35 "/path/to/tmp/json" |
| 35 ], | 36 ], |
| 37 "cwd": "[SLAVE_BUILD]", |
| 36 "env": { | 38 "env": { |
| 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 39 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 38 }, | 40 }, |
| 39 "name": "gclient sync", | 41 "name": "gclient sync", |
| 40 "~followup_annotations": [ | 42 "~followup_annotations": [ |
| 41 "@@@STEP_LOG_LINE@json.output@{@@@", | 43 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
| 44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | 46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", |
| 45 "@@@STEP_LOG_LINE@json.output@ }@@@", | 47 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 46 "@@@STEP_LOG_LINE@json.output@ }@@@", | 48 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 47 "@@@STEP_LOG_LINE@json.output@}@@@", | 49 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 48 "@@@STEP_LOG_END@json.output@@@" | 50 "@@@STEP_LOG_END@json.output@@@" |
| 49 ] | 51 ] |
| 50 }, | 52 }, |
| 51 { | 53 { |
| 52 "cmd": [ | 54 "cmd": [ |
| 53 "python", | 55 "python", |
| 54 "-u", | 56 "-u", |
| 55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 57 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 56 "recurse", | 58 "recurse", |
| 57 "git", | 59 "git", |
| 58 "config", | 60 "config", |
| 59 "user.name", | 61 "user.name", |
| 60 "local_bot" | 62 "local_bot" |
| 61 ], | 63 ], |
| 64 "cwd": "[SLAVE_BUILD]", |
| 62 "env": { | 65 "env": { |
| 63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 64 }, | 67 }, |
| 65 "name": "gclient recurse (git config user.name)" | 68 "name": "gclient recurse (git config user.name)" |
| 66 }, | 69 }, |
| 67 { | 70 { |
| 68 "cmd": [ | 71 "cmd": [ |
| 69 "python", | 72 "python", |
| 70 "-u", | 73 "-u", |
| 71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 74 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 72 "recurse", | 75 "recurse", |
| 73 "git", | 76 "git", |
| 74 "config", | 77 "config", |
| 75 "user.email", | 78 "user.email", |
| 76 "local_bot@example.com" | 79 "local_bot@example.com" |
| 77 ], | 80 ], |
| 81 "cwd": "[SLAVE_BUILD]", |
| 78 "env": { | 82 "env": { |
| 79 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 80 }, | 84 }, |
| 81 "name": "gclient recurse (git config user.email)" | 85 "name": "gclient recurse (git config user.email)" |
| 82 }, | 86 }, |
| 83 { | 87 { |
| 84 "cmd": [ | 88 "cmd": [ |
| 85 "python", | 89 "python", |
| 86 "-u", | 90 "-u", |
| 87 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 88 "config", | 92 "config", |
| 89 "--spec", | 93 "--spec", |
| 90 "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'}]" | 94 "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'}]" |
| 91 ], | 95 ], |
| 92 "cwd": "[CWD]/src/third_party", | 96 "cwd": "[SLAVE_BUILD]/src/third_party", |
| 93 "env": { | 97 "env": { |
| 94 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 98 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 95 }, | 99 }, |
| 96 "name": "[spec: WebKit] gclient setup" | 100 "name": "[spec: WebKit] gclient setup" |
| 97 }, | 101 }, |
| 98 { | 102 { |
| 99 "cmd": [ | 103 "cmd": [ |
| 100 "python", | 104 "python", |
| 101 "-u", | 105 "-u", |
| 102 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 103 "sync", | 107 "sync", |
| 104 "--nohooks", | 108 "--nohooks", |
| 105 "--force", | 109 "--force", |
| 106 "--verbose", | 110 "--verbose", |
| 107 "--delete_unversioned_trees", | 111 "--delete_unversioned_trees", |
| 108 "--with_branch_heads", | 112 "--with_branch_heads", |
| 109 "--revision", | 113 "--revision", |
| 110 "third_party/WebKit@123", | 114 "third_party/WebKit@123", |
| 111 "--output-json", | 115 "--output-json", |
| 112 "/path/to/tmp/json" | 116 "/path/to/tmp/json" |
| 113 ], | 117 ], |
| 114 "cwd": "[CWD]/src/third_party", | 118 "cwd": "[SLAVE_BUILD]/src/third_party", |
| 115 "env": { | 119 "env": { |
| 116 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 117 }, | 121 }, |
| 118 "name": "[spec: WebKit] gclient sync", | 122 "name": "[spec: WebKit] gclient sync", |
| 119 "~followup_annotations": [ | 123 "~followup_annotations": [ |
| 120 "@@@STEP_LOG_LINE@json.output@{@@@", | 124 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 121 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 125 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 122 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", | 126 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", |
| 123 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", | 127 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", |
| 124 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 128 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 125 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", | 129 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", |
| 126 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", | 130 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", |
| 127 "@@@STEP_LOG_LINE@json.output@ }@@@", | 131 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 128 "@@@STEP_LOG_LINE@json.output@ }@@@", | 132 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 129 "@@@STEP_LOG_LINE@json.output@}@@@", | 133 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 130 "@@@STEP_LOG_END@json.output@@@", | 134 "@@@STEP_LOG_END@json.output@@@", |
| 131 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" | 135 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" |
| 132 ] | 136 ] |
| 133 }, | 137 }, |
| 134 { | 138 { |
| 135 "cmd": [ | 139 "cmd": [ |
| 136 "python", | 140 "python", |
| 137 "-u", | 141 "-u", |
| 138 "\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", | 142 "\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", |
| 139 "[CWD]" | 143 "[SLAVE_BUILD]" |
| 140 ], | 144 ], |
| 145 "cwd": "[SLAVE_BUILD]", |
| 141 "name": "cleanup index.lock", | 146 "name": "cleanup index.lock", |
| 142 "~followup_annotations": [ | 147 "~followup_annotations": [ |
| 143 "@@@STEP_LOG_LINE@python.inline@@@@", | 148 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 149 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@@@@", | 150 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 151 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 152 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 153 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
| 149 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 154 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| 150 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 155 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
| 151 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 156 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
| 152 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 157 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
| 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 158 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| 154 "@@@STEP_LOG_END@python.inline@@@" | 159 "@@@STEP_LOG_END@python.inline@@@" |
| 155 ] | 160 ] |
| 156 }, | 161 }, |
| 157 { | 162 { |
| 158 "cmd": [ | 163 "cmd": [ |
| 159 "python", | 164 "python", |
| 160 "-u", | 165 "-u", |
| 161 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 166 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 162 "runhooks" | 167 "runhooks" |
| 163 ], | 168 ], |
| 169 "cwd": "[SLAVE_BUILD]", |
| 164 "env": { | 170 "env": { |
| 165 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| 166 }, | 172 }, |
| 167 "name": "gclient runhooks" | 173 "name": "gclient runhooks" |
| 168 }, | 174 }, |
| 169 { | 175 { |
| 170 "name": "$result", | 176 "name": "$result", |
| 171 "recipe_result": null, | 177 "recipe_result": null, |
| 172 "status_code": 0 | 178 "status_code": 0 |
| 173 } | 179 } |
| 174 ] | 180 ] |
| OLD | NEW |