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