| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| 7 "[SLAVE_BUILD]/go/src", | 7 "[SLAVE_BUILD]/go/src", |
| 8 "511" | 8 "511" |
| 9 ], | 9 ], |
| 10 "cwd": "[SLAVE_BUILD]", | |
| 11 "name": "makedirs makedirs go/src", | 10 "name": "makedirs makedirs go/src", |
| 12 "~followup_annotations": [ | 11 "~followup_annotations": [ |
| 13 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 14 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 15 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 16 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 17 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 18 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 19 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 20 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 21 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 22 "@@@STEP_LOG_END@python.inline@@@" | 21 "@@@STEP_LOG_END@python.inline@@@" |
| 23 ] | 22 ] |
| 24 }, | 23 }, |
| 25 { | 24 { |
| 26 "cmd": [ | 25 "cmd": [ |
| 27 "git", | 26 "git", |
| 28 "clone", | 27 "clone", |
| 29 "https://skia.googlesource.com/buildbot", | 28 "https://skia.googlesource.com/buildbot", |
| 30 "[SLAVE_BUILD]/go/src/go.skia.org/infra" | 29 "[SLAVE_BUILD]/go/src/go.skia.org/infra" |
| 31 ], | 30 ], |
| 32 "cwd": "[SLAVE_BUILD]", | |
| 33 "name": "git clone" | 31 "name": "git clone" |
| 34 }, | 32 }, |
| 35 { | 33 { |
| 36 "cmd": [ | 34 "cmd": [ |
| 37 "git", | 35 "git", |
| 38 "fetch", | 36 "fetch", |
| 39 "origin" | 37 "origin" |
| 40 ], | 38 ], |
| 41 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", | 39 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", |
| 42 "name": "git fetch" | 40 "name": "git fetch" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 }, | 74 }, |
| 77 "name": "update_deps" | 75 "name": "update_deps" |
| 78 }, | 76 }, |
| 79 { | 77 { |
| 80 "cmd": [ | 78 "cmd": [ |
| 81 "git", | 79 "git", |
| 82 "clone", | 80 "clone", |
| 83 "https://skia.googlesource.com/buildbot", | 81 "https://skia.googlesource.com/buildbot", |
| 84 "[SLAVE_BUILD]/go/src/go.skia.org/infra" | 82 "[SLAVE_BUILD]/go/src/go.skia.org/infra" |
| 85 ], | 83 ], |
| 86 "cwd": "[SLAVE_BUILD]", | |
| 87 "name": "git clone (2)" | 84 "name": "git clone (2)" |
| 88 }, | 85 }, |
| 89 { | 86 { |
| 90 "cmd": [ | 87 "cmd": [ |
| 91 "git", | 88 "git", |
| 92 "fetch", | 89 "fetch", |
| 93 "origin" | 90 "origin" |
| 94 ], | 91 ], |
| 95 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", | 92 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", |
| 96 "name": "git fetch (2)" | 93 "name": "git fetch (2)" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" | 179 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" |
| 183 }, | 180 }, |
| 184 "name": "run_unittests" | 181 "name": "run_unittests" |
| 185 }, | 182 }, |
| 186 { | 183 { |
| 187 "name": "$result", | 184 "name": "$result", |
| 188 "recipe_result": null, | 185 "recipe_result": null, |
| 189 "status_code": 0 | 186 "status_code": 0 |
| 190 } | 187 } |
| 191 ] | 188 ] |
| OLD | NEW |