borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 1 | [ |
| 2 | { |
| 3 | "cmd": [ |
| 4 | "python", |
| 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", |
| 7 | "[CUSTOM_/_B_WORK]", |
| 8 | "511" |
| 9 | ], |
| 10 | "name": "makedirs checkout_path", |
| 11 | "~followup_annotations": [ |
| 12 | "@@@STEP_LOG_LINE@python.inline@@@@", |
| 13 | "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 14 | "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 15 | "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 16 | "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 17 | "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 18 | "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| 19 | "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| 20 | "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| 21 | "@@@STEP_LOG_END@python.inline@@@" |
| 22 | ] |
| 23 | }, |
| 24 | { |
| 25 | "cmd": [ |
| 26 | "python", |
| 27 | "-u", |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 28 | "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 29 | "--spec", |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 30 | "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", |
| 31 | "--patch_root", |
| 32 | "skia", |
| 33 | "--revision_mapping_file", |
| 34 | "{\"skia\": \"got_revision\"}", |
| 35 | "--git-cache-dir", |
| 36 | "[CUSTOM_/_B_CACHE]", |
| 37 | "--output_json", |
| 38 | "/path/to/tmp/json", |
| 39 | "--revision", |
| 40 | "skia@abc123", |
| 41 | "--output_manifest" |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 42 | ], |
| 43 | "cwd": "[CUSTOM_/_B_WORK]", |
| 44 | "env": { |
| 45 | "BUILDTYPE": "Release", |
| 46 | "CHROME_HEADLESS": "1", |
| 47 | "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 48 | "SKIA_OUT": "[SLAVE_BUILD]/out" |
| 49 | }, |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 50 | "name": "bot_update", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 51 | "~followup_annotations": [ |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 52 | "@@@STEP_TEXT@Some step text@@@", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 53 | "@@@STEP_LOG_LINE@json.output@{@@@", |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 54 | "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| 55 | "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| 56 | "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@", |
| 57 | "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 58 | "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| 59 | "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@", |
| 60 | "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/skia.git\", @@@", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 61 | "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", |
| 62 | "@@@STEP_LOG_LINE@json.output@ }@@@", |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 63 | "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 64 | "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| 65 | "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@", |
| 66 | "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| 67 | "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@", |
| 68 | "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@", |
| 69 | "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| 70 | "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@", |
| 71 | "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 72 | "@@@STEP_LOG_LINE@json.output@}@@@", |
| 73 | "@@@STEP_LOG_END@json.output@@@", |
borenet | 8fa7470 | 2016-10-25 05:26:14 -0700 | [diff] [blame] | 74 | "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@", |
| 75 | "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@" |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 76 | ] |
| 77 | }, |
| 78 | { |
| 79 | "cmd": [ |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 80 | "go", |
| 81 | "get", |
| 82 | "-u", |
Eric Boren | 58bf693 | 2016-11-16 10:49:52 -0500 | [diff] [blame^] | 83 | "-t", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 84 | "go.skia.org/infra/..." |
| 85 | ], |
| 86 | "env": { |
| 87 | "GOPATH": "[CUSTOM_/_B_WORK]/gopath" |
| 88 | }, |
| 89 | "name": "update go pkgs", |
| 90 | "~followup_annotations": [ |
| 91 | "step returned non-zero exit code: 1", |
| 92 | "@@@STEP_FAILURE@@@" |
| 93 | ] |
| 94 | }, |
| 95 | { |
| 96 | "cmd": [ |
| 97 | "go", |
| 98 | "get", |
| 99 | "-u", |
Eric Boren | 58bf693 | 2016-11-16 10:49:52 -0500 | [diff] [blame^] | 100 | "-t", |
borenet | 61013b2 | 2016-10-20 11:38:30 -0700 | [diff] [blame] | 101 | "go.skia.org/infra/..." |
| 102 | ], |
| 103 | "env": { |
| 104 | "GOPATH": "[CUSTOM_/_B_WORK]/gopath" |
| 105 | }, |
| 106 | "name": "update go pkgs (attempt 2)" |
| 107 | }, |
| 108 | { |
| 109 | "cmd": [ |
| 110 | "python", |
| 111 | "[CUSTOM_/_B_WORK]/skia/infra/bots/infra_tests.py" |
| 112 | ], |
| 113 | "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 114 | "env": { |
| 115 | "GOPATH": "[CUSTOM_/_B_WORK]/gopath" |
| 116 | }, |
| 117 | "name": "infra_tests" |
| 118 | }, |
| 119 | { |
| 120 | "name": "$result", |
| 121 | "recipe_result": null, |
| 122 | "status_code": 0 |
| 123 | } |
| 124 | ] |