Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/recipe_with_gerrit_patch.json

Issue 2263323002: Apply gerrit ref if it is a Gerrit patch (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Cleanup Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "[CUSTOM_C:\\_B_WORK]", 7 "[CUSTOM_C:\\_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
(...skipping 17 matching lines...) Expand all
28 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 28 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
29 "config", 29 "config",
30 "--spec", 30 "--spec",
31 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']" 31 "cache_dir = '[CUSTOM_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']"
32 ], 32 ],
33 "cwd": "[CUSTOM_C:\\_B_WORK]", 33 "cwd": "[CUSTOM_C:\\_B_WORK]",
34 "env": { 34 "env": {
35 "BUILDTYPE": "Debug", 35 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1", 36 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]", 37 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 38 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-Try bot"
39 }, 39 },
40 "name": "gclient setup" 40 "name": "gclient setup"
41 }, 41 },
42 { 42 {
43 "cmd": [ 43 "cmd": [
44 "python", 44 "python",
45 "-u", 45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 46 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
47 "sync", 47 "sync",
48 "--nohooks", 48 "--nohooks",
49 "--force", 49 "--force",
50 "--verbose", 50 "--verbose",
51 "--delete_unversioned_trees", 51 "--delete_unversioned_trees",
52 "--revision", 52 "--revision",
53 "skia@abc123", 53 "skia@abc123",
54 "--output-json", 54 "--output-json",
55 "/path/to/tmp/json" 55 "/path/to/tmp/json"
56 ], 56 ],
57 "cwd": "[CUSTOM_C:\\_B_WORK]", 57 "cwd": "[CUSTOM_C:\\_B_WORK]",
58 "env": { 58 "env": {
59 "BUILDTYPE": "Debug", 59 "BUILDTYPE": "Debug",
60 "CHROME_HEADLESS": "1", 60 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]", 61 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 62 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-Try bot"
63 }, 63 },
64 "name": "gclient sync", 64 "name": "gclient sync",
65 "~followup_annotations": [ 65 "~followup_annotations": [
66 "@@@STEP_LOG_LINE@json.output@{@@@", 66 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
70 "@@@STEP_LOG_LINE@json.output@ }@@@", 70 "@@@STEP_LOG_LINE@json.output@ }@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@", 71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@}@@@", 72 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@", 73 "@@@STEP_LOG_END@json.output@@@",
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
75 ] 75 ]
76 }, 76 },
77 { 77 {
78 "cmd": [ 78 "cmd": [
79 "python", 79 "python",
80 "-u", 80 "-u",
81 "[DEPOT_TOOLS]\\apply_issue.py", 81 "RECIPE_MODULE[depot_tools::bot_update]\\resources\\apply_gerrit.py",
82 "-r", 82 "--gerrit_repo",
83 "skia",
84 "--gerrit_ref",
85 "refs/changes/00/2100/2",
86 "--root",
83 "[CUSTOM_C:\\_B_WORK]\\skia", 87 "[CUSTOM_C:\\_B_WORK]\\skia",
84 "-i", 88 "--gerrit_rebase_patch_ref"
85 "2147533002",
86 "-p",
87 "1",
88 "-s",
89 "https://codereview.chromium.org",
90 "--no-auth"
91 ], 89 ],
92 "name": "apply_issue", 90 "env": {
91 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]"
92 },
93 "name": "apply_gerrit"
94 },
95 {
96 "cmd": [
97 "python",
98 "-u",
99 "\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",
100 "[SLAVE_BUILD]\\tmp",
101 "511"
102 ],
103 "name": "makedirs tmp_dir",
93 "~followup_annotations": [ 104 "~followup_annotations": [
94 "@@@STEP_LINK@Applied issue 2147533002@https://codereview.chromium.org/214 7533002@@@" 105 "@@@STEP_LOG_LINE@python.inline@@@@",
106 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
107 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
108 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
109 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
110 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
111 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
112 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
113 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
114 "@@@STEP_LOG_END@python.inline@@@"
95 ] 115 ]
96 }, 116 },
97 { 117 {
98 "cmd": [ 118 "cmd": [
99 "python", 119 "python",
100 "-u", 120 "-u",
101 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" , 121 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" ,
102 "--win_toolchain_json", 122 "--win_toolchain_json",
103 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json", 123 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json",
104 "--depot_tools_parent_dir", 124 "--depot_tools_parent_dir",
105 "[SLAVE_BUILD]" 125 "[SLAVE_BUILD]"
106 ], 126 ],
107 "name": "bootstrap win toolchain" 127 "name": "bootstrap win toolchain"
108 }, 128 },
109 { 129 {
110 "cmd": [ 130 "cmd": [
111 "python", 131 "python",
112 "make.py", 132 "make.py",
113 "most" 133 "most"
114 ], 134 ],
115 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 135 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
116 "env": { 136 "env": {
117 "BUILDTYPE": "Debug", 137 "BUILDTYPE": "Debug",
118 "CHROME_HEADLESS": "1", 138 "CHROME_HEADLESS": "1",
119 "CHROME_PATH": "[SLAVE_BUILD]\\src", 139 "CHROME_PATH": "[SLAVE_BUILD]\\src",
120 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0", 140 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0",
121 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]", 141 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
122 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 142 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-Try bot"
123 }, 143 },
124 "name": "build most" 144 "name": "build most"
125 }, 145 },
126 { 146 {
127 "cmd": [ 147 "cmd": [
128 "python", 148 "python",
129 "-u", 149 "-u",
130 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 150 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get _images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '* .so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell .ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs( dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i n glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.d irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
131 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug", 151 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug-Trybot\\Debug",
132 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug" 152 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug"
133 ], 153 ],
134 "name": "copy build products", 154 "name": "copy build products",
135 "~followup_annotations": [ 155 "~followup_annotations": [
136 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 156 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
137 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 157 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
138 "@@@STEP_LOG_LINE@python.inline@import os@@@", 158 "@@@STEP_LOG_LINE@python.inline@import os@@@",
139 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 159 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
140 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 160 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
141 "@@@STEP_LOG_LINE@python.inline@@@@", 161 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 197 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
178 "@@@STEP_LOG_END@python.inline@@@" 198 "@@@STEP_LOG_END@python.inline@@@"
179 ] 199 ]
180 }, 200 },
181 { 201 {
182 "name": "$result", 202 "name": "$result",
183 "recipe_result": null, 203 "recipe_result": null,
184 "status_code": 0 204 "status_code": 0
185 } 205 }
186 ] 206 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698