| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
| 7 "--path", | 7 "--path", |
| 8 "[CWD]/swarming.client", | 8 "[SLAVE_BUILD]/swarming.client", |
| 9 "--url", | 9 "--url", |
| 10 "https://chromium.googlesource.com/external/swarming.client.git" | 10 "https://chromium.googlesource.com/external/swarming.client.git" |
| 11 ], | 11 ], |
| 12 "cwd": "[SLAVE_BUILD]", |
| 12 "name": "git setup (swarming_client)" | 13 "name": "git setup (swarming_client)" |
| 13 }, | 14 }, |
| 14 { | 15 { |
| 15 "cmd": [ | 16 "cmd": [ |
| 16 "git", | 17 "git", |
| 17 "retry", | 18 "retry", |
| 18 "fetch", | 19 "fetch", |
| 19 "origin", | 20 "origin", |
| 20 "master" | 21 "master" |
| 21 ], | 22 ], |
| 22 "cwd": "[CWD]/swarming.client", | 23 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 23 "name": "git fetch (swarming_client)" | 24 "name": "git fetch (swarming_client)" |
| 24 }, | 25 }, |
| 25 { | 26 { |
| 26 "cmd": [ | 27 "cmd": [ |
| 27 "git", | 28 "git", |
| 28 "checkout", | 29 "checkout", |
| 29 "-f", | 30 "-f", |
| 30 "FETCH_HEAD" | 31 "FETCH_HEAD" |
| 31 ], | 32 ], |
| 32 "cwd": "[CWD]/swarming.client", | 33 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 33 "name": "git checkout (swarming_client)" | 34 "name": "git checkout (swarming_client)" |
| 34 }, | 35 }, |
| 35 { | 36 { |
| 36 "cmd": [ | 37 "cmd": [ |
| 37 "git", | 38 "git", |
| 38 "rev-parse", | 39 "rev-parse", |
| 39 "HEAD" | 40 "HEAD" |
| 40 ], | 41 ], |
| 41 "cwd": "[CWD]/swarming.client", | 42 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 42 "name": "read revision", | 43 "name": "read revision", |
| 43 "stdout": "/path/to/tmp/", | 44 "stdout": "/path/to/tmp/", |
| 44 "~followup_annotations": [ | 45 "~followup_annotations": [ |
| 45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
| 46 ] | 47 ] |
| 47 }, | 48 }, |
| 48 { | 49 { |
| 49 "cmd": [ | 50 "cmd": [ |
| 50 "git", | 51 "git", |
| 51 "clean", | 52 "clean", |
| 52 "-f", | 53 "-f", |
| 53 "-d", | 54 "-d", |
| 54 "-x" | 55 "-x" |
| 55 ], | 56 ], |
| 56 "cwd": "[CWD]/swarming.client", | 57 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 57 "name": "git clean (swarming_client)" | 58 "name": "git clean (swarming_client)" |
| 58 }, | 59 }, |
| 59 { | 60 { |
| 60 "cmd": [ | 61 "cmd": [ |
| 61 "git", | 62 "git", |
| 62 "submodule", | 63 "submodule", |
| 63 "sync" | 64 "sync" |
| 64 ], | 65 ], |
| 65 "cwd": "[CWD]/swarming.client", | 66 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 66 "name": "submodule sync (swarming_client)" | 67 "name": "submodule sync (swarming_client)" |
| 67 }, | 68 }, |
| 68 { | 69 { |
| 69 "cmd": [ | 70 "cmd": [ |
| 70 "git", | 71 "git", |
| 71 "submodule", | 72 "submodule", |
| 72 "update", | 73 "update", |
| 73 "--init", | 74 "--init", |
| 74 "--recursive" | 75 "--recursive" |
| 75 ], | 76 ], |
| 76 "cwd": "[CWD]/swarming.client", | 77 "cwd": "[SLAVE_BUILD]/swarming.client", |
| 77 "name": "submodule update (swarming_client)" | 78 "name": "submodule update (swarming_client)" |
| 78 }, | 79 }, |
| 79 { | 80 { |
| 80 "cmd": [ | 81 "cmd": [ |
| 81 "python", | 82 "python", |
| 82 "-u", | 83 "-u", |
| 83 "[CWD]/swarming.client/swarming.py", | 84 "[SLAVE_BUILD]/swarming.client/swarming.py", |
| 84 "--version" | 85 "--version" |
| 85 ], | 86 ], |
| 87 "cwd": "[SLAVE_BUILD]", |
| 86 "name": "swarming.py --version", | 88 "name": "swarming.py --version", |
| 87 "stdout": "/path/to/tmp/", | 89 "stdout": "/path/to/tmp/", |
| 88 "~followup_annotations": [ | 90 "~followup_annotations": [ |
| 89 "@@@STEP_TEXT@0.4.4@@@" | 91 "@@@STEP_TEXT@0.4.4@@@" |
| 90 ] | 92 ] |
| 91 }, | 93 }, |
| 92 { | 94 { |
| 93 "cmd": [ | 95 "cmd": [ |
| 94 "python", | 96 "python", |
| 95 "-u", | 97 "-u", |
| 96 "[CWD]/swarming.client/isolate.py", | 98 "[SLAVE_BUILD]/swarming.client/isolate.py", |
| 97 "--version" | 99 "--version" |
| 98 ], | 100 ], |
| 101 "cwd": "[SLAVE_BUILD]", |
| 99 "name": "isolate.py --version", | 102 "name": "isolate.py --version", |
| 100 "stdout": "/path/to/tmp/", | 103 "stdout": "/path/to/tmp/", |
| 101 "~followup_annotations": [ | 104 "~followup_annotations": [ |
| 102 "@@@STEP_TEXT@0.3.1@@@" | 105 "@@@STEP_TEXT@0.3.1@@@" |
| 103 ] | 106 ] |
| 104 }, | 107 }, |
| 105 { | 108 { |
| 106 "cmd": [ | 109 "cmd": [ |
| 107 "python", | 110 "python", |
| 108 "-u", | 111 "-u", |
| 109 "import sys; sys.exit(1)" | 112 "import sys; sys.exit(1)" |
| 110 ], | 113 ], |
| 114 "cwd": "[SLAVE_BUILD]", |
| 111 "name": "swarming.py is too old", | 115 "name": "swarming.py is too old", |
| 112 "~followup_annotations": [ | 116 "~followup_annotations": [ |
| 113 "@@@STEP_TEXT@Expecting at least v20.0.0, got v0.4.4@@@", | 117 "@@@STEP_TEXT@Expecting at least v20.0.0, got v0.4.4@@@", |
| 114 "@@@STEP_FAILURE@@@" | 118 "@@@STEP_FAILURE@@@" |
| 115 ] | 119 ] |
| 116 }, | 120 }, |
| 117 { | 121 { |
| 118 "name": "$result", | 122 "name": "$result", |
| 119 "reason": "Expecting at least v20.0.0, got v0.4.4", | 123 "reason": "Expecting at least v20.0.0, got v0.4.4", |
| 120 "status_code": 1 | 124 "status_code": 1 |
| 121 } | 125 } |
| 122 ] | 126 ] |
| OLD | NEW |