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