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