OLD | NEW |
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_/_B_WORK]", | 7 "[CUSTOM_/_B_WORK]", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
(...skipping 10 matching lines...) Expand all Loading... |
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_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]" | 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}]" |
32 ], | 32 ], |
33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
34 "env": { | 34 "env": { |
35 "BUILDTYPE": "Release", | 35 "BUILDTYPE": "Release", |
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_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" |
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 "--verbose", |
| 49 "--with_branch_heads", |
48 "--nohooks", | 50 "--nohooks", |
| 51 "-j8", |
| 52 "--reset", |
49 "--force", | 53 "--force", |
50 "--verbose", | 54 "--upstream", |
| 55 "--no-nag-max", |
51 "--delete_unversioned_trees", | 56 "--delete_unversioned_trees", |
52 "--revision", | 57 "--revision", |
53 "skia@abc123", | 58 "skia@abc123", |
54 "--output-json", | 59 "--output-json", |
55 "/path/to/tmp/json" | 60 "/path/to/tmp/json" |
56 ], | 61 ], |
57 "cwd": "[CUSTOM_/_B_WORK]", | 62 "cwd": "[CUSTOM_/_B_WORK]", |
58 "env": { | 63 "env": { |
59 "BUILDTYPE": "Release", | 64 "BUILDTYPE": "Release", |
60 "CHROME_HEADLESS": "1", | 65 "CHROME_HEADLESS": "1", |
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" | 67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" |
63 }, | 68 }, |
64 "name": "gclient sync", | 69 "name": "gclient sync", |
65 "~followup_annotations": [ | 70 "~followup_annotations": [ |
66 "@@@STEP_LOG_LINE@json.output@{@@@", | 71 "@@@STEP_LOG_LINE@json.output@{@@@", |
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", |
70 "@@@STEP_LOG_LINE@json.output@ }@@@", | 75 "@@@STEP_LOG_LINE@json.output@ }@@@", |
71 "@@@STEP_LOG_LINE@json.output@ }@@@", | 76 "@@@STEP_LOG_LINE@json.output@ }@@@", |
72 "@@@STEP_LOG_LINE@json.output@}@@@", | 77 "@@@STEP_LOG_LINE@json.output@}@@@", |
73 "@@@STEP_LOG_END@json.output@@@", | 78 "@@@STEP_LOG_END@json.output@@@", |
74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 79 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@" |
75 ] | 80 ] |
76 }, | 81 }, |
77 { | 82 { |
78 "cmd": [ | 83 "cmd": [ |
| 84 "python", |
| 85 "-u", |
| 86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 87 "recurse", |
| 88 "git", |
| 89 "config", |
| 90 "user.name", |
| 91 "local_bot" |
| 92 ], |
| 93 "cwd": "[CUSTOM_/_B_WORK]", |
| 94 "env": { |
| 95 "BUILDTYPE": "Release", |
| 96 "CHROME_HEADLESS": "1", |
| 97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 98 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" |
| 99 }, |
| 100 "name": "gclient recurse (git config user.name)" |
| 101 }, |
| 102 { |
| 103 "cmd": [ |
| 104 "python", |
| 105 "-u", |
| 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 107 "recurse", |
| 108 "git", |
| 109 "config", |
| 110 "user.email", |
| 111 "local_bot@example.com" |
| 112 ], |
| 113 "cwd": "[CUSTOM_/_B_WORK]", |
| 114 "env": { |
| 115 "BUILDTYPE": "Release", |
| 116 "CHROME_HEADLESS": "1", |
| 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" |
| 119 }, |
| 120 "name": "gclient recurse (git config user.email)" |
| 121 }, |
| 122 { |
| 123 "cmd": [ |
79 "[CUSTOM_/_B_WORK]/skia/cmake/cmake_build" | 124 "[CUSTOM_/_B_WORK]/skia/cmake/cmake_build" |
80 ], | 125 ], |
81 "cwd": "[CUSTOM_/_B_WORK]/skia", | 126 "cwd": "[CUSTOM_/_B_WORK]/skia", |
82 "env": { | 127 "env": { |
83 "BUILDTYPE": "Release", | 128 "BUILDTYPE": "Release", |
84 "CHROME_HEADLESS": "1", | 129 "CHROME_HEADLESS": "1", |
85 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 130 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 131 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" | 132 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CM
ake" |
88 }, | 133 }, |
89 "name": "cmake_build" | 134 "name": "cmake_build" |
90 }, | 135 }, |
91 { | 136 { |
92 "cmd": [ | 137 "cmd": [ |
93 "python", | 138 "python", |
94 "-u", | 139 "-u", |
95 "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", | 140 "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", |
96 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release"
, | 141 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-CMake/Release"
, |
(...skipping 27 matching lines...) Expand all Loading... |
124 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 169 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
125 "@@@STEP_LOG_END@python.inline@@@" | 170 "@@@STEP_LOG_END@python.inline@@@" |
126 ] | 171 ] |
127 }, | 172 }, |
128 { | 173 { |
129 "name": "$result", | 174 "name": "$result", |
130 "recipe_result": null, | 175 "recipe_result": null, |
131 "status_code": 0 | 176 "status_code": 0 |
132 } | 177 } |
133 ] | 178 ] |
OLD | NEW |