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

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/big_issue_number.json

Issue 2270963002: Make skia recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebase 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 10 matching lines...) Expand all
21 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
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. git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/sk ia.git'}]\ntarget_os = ['llvm']"
32 ], 32 ],
33 "cwd": "[CUSTOM_C:\\_B_WORK]", 33 "cwd": "[CUSTOM_C:\\_B_WORK]",
34 "env": { 34 "env": {
35 "CHROME_HEADLESS": "1", 35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]", 36 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]\\scripts" 37 "PYTHONPATH": "[BUILD]\\scripts"
38 }, 38 },
39 "name": "gclient setup" 39 "name": "gclient setup"
40 }, 40 },
41 { 41 {
42 "cmd": [ 42 "cmd": [
43 "python", 43 "python",
44 "-u", 44 "-u",
45 "[BUILD]\\scripts\\slave\\gclient_safe_revert.py",
46 ".",
47 "[DEPOT_TOOLS]\\gclient.bat"
48 ],
49 "cwd": "[CUSTOM_C:\\_B_WORK]",
50 "env": {
51 "CHROME_HEADLESS": "1",
52 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools]",
53 "PYTHONPATH": "[BUILD]\\scripts"
54 },
55 "name": "gclient revert"
56 },
57 {
58 "cmd": [
59 "python",
60 "-u",
61 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py", 45 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
62 "sync", 46 "sync",
47 "--verbose",
48 "--with_branch_heads",
63 "--nohooks", 49 "--nohooks",
50 "-j2",
51 "--reset",
64 "--force", 52 "--force",
65 "--verbose", 53 "--upstream",
54 "--no-nag-max",
66 "--delete_unversioned_trees", 55 "--delete_unversioned_trees",
67 "--revision", 56 "--revision",
68 "skia@abc123", 57 "skia@abc123",
69 "--output-json", 58 "--output-json",
70 "/path/to/tmp/json" 59 "/path/to/tmp/json"
71 ], 60 ],
72 "cwd": "[CUSTOM_C:\\_B_WORK]", 61 "cwd": "[CUSTOM_C:\\_B_WORK]",
73 "env": { 62 "env": {
74 "CHROME_HEADLESS": "1", 63 "CHROME_HEADLESS": "1",
75 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]", 64 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
76 "PYTHONPATH": "[BUILD]\\scripts" 65 "PYTHONPATH": "[BUILD]\\scripts"
77 }, 66 },
78 "name": "gclient sync", 67 "name": "gclient sync",
79 "~followup_annotations": [ 68 "~followup_annotations": [
80 "@@@STEP_LOG_LINE@json.output@{@@@", 69 "@@@STEP_LOG_LINE@json.output@{@@@",
81 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
82 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 71 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
83 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 72 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
84 "@@@STEP_LOG_LINE@json.output@ }@@@", 73 "@@@STEP_LOG_LINE@json.output@ }@@@",
85 "@@@STEP_LOG_LINE@json.output@ }@@@", 74 "@@@STEP_LOG_LINE@json.output@ }@@@",
86 "@@@STEP_LOG_LINE@json.output@}@@@", 75 "@@@STEP_LOG_LINE@json.output@}@@@",
87 "@@@STEP_LOG_END@json.output@@@", 76 "@@@STEP_LOG_END@json.output@@@",
88 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 77 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@"
89 ] 78 ]
90 }, 79 },
91 { 80 {
92 "cmd": [ 81 "cmd": [
93 "python", 82 "python",
94 "-u", 83 "-u",
84 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
85 "recurse",
86 "git",
87 "config",
88 "user.name",
89 "local_bot"
90 ],
91 "cwd": "[CUSTOM_C:\\_B_WORK]",
92 "env": {
93 "CHROME_HEADLESS": "1",
94 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools];RECIPE_PACKAGE_REPO[depot_tools]",
95 "PYTHONPATH": "[BUILD]\\scripts"
96 },
97 "name": "gclient recurse (git config user.name)"
98 },
99 {
100 "cmd": [
101 "python",
102 "-u",
103 "RECIPE_PACKAGE_REPO[depot_tools]\\gclient.py",
104 "recurse",
105 "git",
106 "config",
107 "user.email",
108 "local_bot@example.com"
109 ],
110 "cwd": "[CUSTOM_C:\\_B_WORK]",
111 "env": {
112 "CHROME_HEADLESS": "1",
113 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools];RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[depot_tools]",
114 "PYTHONPATH": "[BUILD]\\scripts"
115 },
116 "name": "gclient recurse (git config user.email)"
117 },
118 {
119 "cmd": [
120 "python",
121 "-u",
95 "[DEPOT_TOOLS]\\apply_issue.py", 122 "[DEPOT_TOOLS]\\apply_issue.py",
96 "-r", 123 "-r",
97 "[CUSTOM_C:\\_B_WORK]\\skia", 124 "[CUSTOM_C:\\_B_WORK]\\skia",
98 "-i", 125 "-i",
99 "2147533002", 126 "2147533002",
100 "-p", 127 "-p",
101 "1", 128 "1",
102 "-s", 129 "-s",
103 "https://codereview.chromium.org", 130 "https://codereview.chromium.org",
104 "--no-auth" 131 "--no-auth"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "python", 193 "python",
167 "make.py", 194 "make.py",
168 "most" 195 "most"
169 ], 196 ],
170 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia", 197 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
171 "env": { 198 "env": {
172 "BUILDTYPE": "Debug", 199 "BUILDTYPE": "Debug",
173 "CHROME_HEADLESS": "1", 200 "CHROME_HEADLESS": "1",
174 "CHROME_PATH": "[SLAVE_BUILD]\\src", 201 "CHROME_PATH": "[SLAVE_BUILD]\\src",
175 "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", 202 "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",
176 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]", 203 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools];RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[depot_tools]",
177 "PYTHONPATH": "[BUILD]\\scripts", 204 "PYTHONPATH": "[BUILD]\\scripts",
178 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug" 205 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
179 }, 206 },
180 "name": "build most" 207 "name": "build most"
181 }, 208 },
182 { 209 {
183 "cmd": [ 210 "cmd": [
184 "python", 211 "python",
185 "-u", 212 "-u",
186 "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', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise \n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern )\n for f in 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.makedi rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 213 "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', 'nan obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so ', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise \n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern )\n for f in 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.makedi rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 260 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
234 "@@@STEP_LOG_END@python.inline@@@" 261 "@@@STEP_LOG_END@python.inline@@@"
235 ] 262 ]
236 }, 263 },
237 { 264 {
238 "name": "$result", 265 "name": "$result",
239 "recipe_result": null, 266 "recipe_result": null,
240 "status_code": 0 267 "status_code": 0
241 } 268 }
242 ] 269 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698