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