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

Side by Side Diff: infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Weekly-RecreateSKPs.json

Issue 2448973002: Change recipes to use bot_update (Closed)
Patch Set: Clean Created 4 years, 1 month 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_/_B_WORK]", 7 "[CUSTOM_/_B_WORK]",
8 "511" 8 "511"
9 ], 9 ],
10 "name": "makedirs checkout_path", 10 "name": "makedirs checkout_path",
11 "~followup_annotations": [ 11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(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@@@", 18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
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_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "config",
30 "--spec", 29 "--spec",
31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https:/ /chromium.googlesource.com/chromium/src.git'}]" 30 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'src', 'url': 'https:/ /chromium.googlesource.com/chromium/src.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 "--revision",
42 "src@origin/lkgr",
43 "--output_manifest"
32 ], 44 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 45 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 46 "env": {
35 "BUILDTYPE": "Release", 47 "BUILDTYPE": "Release",
36 "CHROME_HEADLESS": "1", 48 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 49 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[SLAVE_BUILD]/out" 50 "SKIA_OUT": "[SLAVE_BUILD]/out"
39 }, 51 },
40 "name": "gclient setup" 52 "name": "bot_update",
41 },
42 {
43 "cmd": [
44 "python",
45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync",
48 "--verbose",
49 "--with_branch_heads",
50 "--nohooks",
51 "-j8",
52 "--reset",
53 "--force",
54 "--upstream",
55 "--no-nag-max",
56 "--delete_unversioned_trees",
57 "--revision",
58 "skia@abc123",
59 "--revision",
60 "src@origin/lkgr",
61 "--output-json",
62 "/path/to/tmp/json"
63 ],
64 "cwd": "[CUSTOM_/_B_WORK]",
65 "env": {
66 "BUILDTYPE": "Release",
67 "CHROME_HEADLESS": "1",
68 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
69 "SKIA_OUT": "[SLAVE_BUILD]/out"
70 },
71 "name": "gclient sync",
72 "~followup_annotations": [ 53 "~followup_annotations": [
54 "@@@STEP_TEXT@Some step text@@@",
73 "@@@STEP_LOG_LINE@json.output@{@@@", 55 "@@@STEP_LOG_LINE@json.output@{@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 56 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 57 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
58 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\", @@@",
59 "@@@STEP_LOG_LINE@json.output@ \"src\": \"origin/lkgr\"@@@",
60 "@@@STEP_LOG_LINE@json.output@ }, @@@",
61 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/ski a.git\", @@@",
76 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@", 64 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
77 "@@@STEP_LOG_LINE@json.output@ }, @@@",
78 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
79 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
80 "@@@STEP_LOG_LINE@json.output@ }@@@", 65 "@@@STEP_LOG_LINE@json.output@ }@@@",
81 "@@@STEP_LOG_LINE@json.output@ }@@@", 66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
67 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
69 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e97 2b694580e5d17ad10748\", @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#164710}\"@@@",
72 "@@@STEP_LOG_LINE@json.output@ }, @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
82 "@@@STEP_LOG_LINE@json.output@}@@@", 75 "@@@STEP_LOG_LINE@json.output@}@@@",
83 "@@@STEP_LOG_END@json.output@@@", 76 "@@@STEP_LOG_END@json.output@@@",
84 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@" 77 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@",
78 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
85 ] 79 ]
86 }, 80 },
87 { 81 {
88 "cmd": [ 82 "cmd": [
89 "python", 83 "python",
90 "-u", 84 "-u",
91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 85 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
92 "recurse",
93 "git",
94 "config",
95 "user.name",
96 "local_bot"
97 ],
98 "cwd": "[CUSTOM_/_B_WORK]",
99 "env": {
100 "BUILDTYPE": "Release",
101 "CHROME_HEADLESS": "1",
102 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
103 "SKIA_OUT": "[SLAVE_BUILD]/out"
104 },
105 "name": "gclient recurse (git config user.name)"
106 },
107 {
108 "cmd": [
109 "python",
110 "-u",
111 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
112 "recurse",
113 "git",
114 "config",
115 "user.email",
116 "local_bot@example.com"
117 ],
118 "cwd": "[CUSTOM_/_B_WORK]",
119 "env": {
120 "BUILDTYPE": "Release",
121 "CHROME_HEADLESS": "1",
122 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
123 "SKIA_OUT": "[SLAVE_BUILD]/out"
124 },
125 "name": "gclient recurse (git config user.email)"
126 },
127 {
128 "cmd": [
129 "python",
130 "-u",
131 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
132 "runhooks" 86 "runhooks"
133 ], 87 ],
134 "cwd": "[CUSTOM_/_B_WORK]", 88 "cwd": "[CUSTOM_/_B_WORK]",
135 "env": { 89 "env": {
136 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1", 90 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1",
137 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 91 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
138 }, 92 },
139 "name": "gclient runhooks" 93 "name": "gclient runhooks"
140 }, 94 },
141 { 95 {
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 "@@@STEP_LOG_LINE@python.inline@ os.rename(backup_file, token_file)@@@", 279 "@@@STEP_LOG_LINE@python.inline@ os.rename(backup_file, token_file)@@@",
326 "@@@STEP_LOG_END@python.inline@@@" 280 "@@@STEP_LOG_END@python.inline@@@"
327 ] 281 ]
328 }, 282 },
329 { 283 {
330 "name": "$result", 284 "name": "$result",
331 "recipe_result": null, 285 "recipe_result": null,
332 "status_code": 0 286 "status_code": 0
333 } 287 }
334 ] 288 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698