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

Side by Side Diff: scripts/slave/recipe_modules/gsutil/example.expected/basic.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 6 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
7 "--", 7 "--",
8 "[DEPOT_TOOLS]/gsutil.py", 8 "[DEPOT_TOOLS]/gsutil.py",
9 "--force-version", 9 "--force-version",
10 "3.25", 10 "3.25",
11 "--", 11 "--",
12 "cp", 12 "cp",
13 "-h", 13 "-h",
14 "Cache-Control:no-cache", 14 "Cache-Control:no-cache",
15 "-h", 15 "-h",
16 "x-goog-meta-Remove-Me", 16 "x-goog-meta-Remove-Me",
17 "-h", 17 "-h",
18 "x-goog-meta-Test-Field:value", 18 "x-goog-meta-Test-Field:value",
19 "-h", 19 "-h",
20 "x-custom-field:custom-value", 20 "x-custom-field:custom-value",
21 "[SLAVE_BUILD]/boom", 21 "[SLAVE_BUILD]/boom",
22 "gs://chromium-recipe-test/some/random/path/to/boom" 22 "gs://chromium-recipe-test/some/random/path/to/boom"
23 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
24 "name": "gsutil upload", 25 "name": "gsutil upload",
25 "~followup_annotations": [ 26 "~followup_annotations": [
26 "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/chromium-recipe -test/some/random/path/to/boom@@@" 27 "@@@STEP_LINK@gsutil.upload@https://storage.googleapis.com/chromium-recipe -test/some/random/path/to/boom@@@"
27 ] 28 ]
28 }, 29 },
29 { 30 {
30 "cmd": [ 31 "cmd": [
31 "python", 32 "python",
32 "-u", 33 "-u",
33 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 34 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
34 "--", 35 "--",
35 "[DEPOT_TOOLS]/gsutil.py", 36 "[DEPOT_TOOLS]/gsutil.py",
36 "--force-version", 37 "--force-version",
37 "3.25", 38 "3.25",
38 "--", 39 "--",
39 "cp", 40 "cp",
40 "gs://chromium-recipe-test/some/random/path/**", 41 "gs://chromium-recipe-test/some/random/path/**",
41 "gs://chromium-recipe-test/staging" 42 "gs://chromium-recipe-test/staging"
42 ], 43 ],
44 "cwd": "[SLAVE_BUILD]",
43 "name": "gsutil cp" 45 "name": "gsutil cp"
44 }, 46 },
45 { 47 {
46 "cmd": [ 48 "cmd": [
47 "python", 49 "python",
48 "-u", 50 "-u",
49 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 51 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
50 "--", 52 "--",
51 "[DEPOT_TOOLS]/gsutil.py", 53 "[DEPOT_TOOLS]/gsutil.py",
52 "--force-version", 54 "--force-version",
53 "3.25", 55 "3.25",
54 "--", 56 "--",
55 "cp", 57 "cp",
56 "gs://chromium-recipe-test/some/random/path/**", 58 "gs://chromium-recipe-test/some/random/path/**",
57 "gs://chromium-recipe-test/staging" 59 "gs://chromium-recipe-test/staging"
58 ], 60 ],
61 "cwd": "[SLAVE_BUILD]",
59 "name": "gsutil cp (2)" 62 "name": "gsutil cp (2)"
60 }, 63 },
61 { 64 {
62 "cmd": [ 65 "cmd": [
63 "python", 66 "python",
64 "-u", 67 "-u",
65 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 68 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
66 "--", 69 "--",
67 "[DEPOT_TOOLS]/gsutil.py", 70 "[DEPOT_TOOLS]/gsutil.py",
68 "--force-version", 71 "--force-version",
69 "3.25", 72 "3.25",
70 "--", 73 "--",
71 "cp", 74 "cp",
72 "gs://chromium-recipe-test/some/random/path/to/boom", 75 "gs://chromium-recipe-test/some/random/path/to/boom",
73 "[SLAVE_BUILD]/boom" 76 "[SLAVE_BUILD]/boom"
74 ], 77 ],
78 "cwd": "[SLAVE_BUILD]",
75 "name": "gsutil gsutil download url" 79 "name": "gsutil gsutil download url"
76 }, 80 },
77 { 81 {
78 "cmd": [ 82 "cmd": [
79 "python", 83 "python",
80 "-u", 84 "-u",
81 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 85 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
82 "--", 86 "--",
83 "[DEPOT_TOOLS]/gsutil.py", 87 "[DEPOT_TOOLS]/gsutil.py",
84 "--force-version", 88 "--force-version",
85 "3.25", 89 "3.25",
86 "--", 90 "--",
87 "cp", 91 "cp",
88 "gs://chromium-recipe-test/staging/to/boom", 92 "gs://chromium-recipe-test/staging/to/boom",
89 "[SLAVE_BUILD]/erang" 93 "[SLAVE_BUILD]/erang"
90 ], 94 ],
95 "cwd": "[SLAVE_BUILD]",
91 "name": "gsutil download" 96 "name": "gsutil download"
92 }, 97 },
93 { 98 {
94 "cmd": [ 99 "cmd": [
95 "python", 100 "python",
96 "-u", 101 "-u",
97 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 102 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
98 "--", 103 "--",
99 "[DEPOT_TOOLS]/gsutil.py", 104 "[DEPOT_TOOLS]/gsutil.py",
100 "--force-version", 105 "--force-version",
101 "3.25", 106 "3.25",
102 "--", 107 "--",
103 "signurl", 108 "signurl",
104 "path/to/key", 109 "path/to/key",
105 "gs://chromium-recipe-test/some/random/path/to/boom" 110 "gs://chromium-recipe-test/some/random/path/to/boom"
106 ], 111 ],
112 "cwd": "[SLAVE_BUILD]",
107 "name": "gsutil signed url" 113 "name": "gsutil signed url"
108 }, 114 },
109 { 115 {
110 "cmd": [ 116 "cmd": [
111 "python", 117 "python",
112 "-u", 118 "-u",
113 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 119 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
114 "--", 120 "--",
115 "[DEPOT_TOOLS]/gsutil.py", 121 "[DEPOT_TOOLS]/gsutil.py",
116 "--force-version", 122 "--force-version",
117 "3.25", 123 "3.25",
118 "--", 124 "--",
119 "rm", 125 "rm",
120 "gs://chromium-recipe-test/staging/to/boom" 126 "gs://chromium-recipe-test/staging/to/boom"
121 ], 127 ],
128 "cwd": "[SLAVE_BUILD]",
122 "name": "gsutil remove" 129 "name": "gsutil remove"
123 }, 130 },
124 { 131 {
125 "cmd": [ 132 "cmd": [
126 "python", 133 "python",
127 "-u", 134 "-u",
128 "[BUILD]/scripts/slave/gsutil_download.py", 135 "[BUILD]/scripts/slave/gsutil_download.py",
129 "--poll", 136 "--poll",
130 "--url", 137 "--url",
131 "gs://chromium-recipe-test/foo/bar", 138 "gs://chromium-recipe-test/foo/bar",
132 "--dst", 139 "--dst",
133 "local/path/for/download", 140 "local/path/for/download",
134 "--poll-interval", 141 "--poll-interval",
135 "15", 142 "15",
136 "--timeout", 143 "--timeout",
137 "600" 144 "600"
138 ], 145 ],
139 "cwd": "[SLAVE_BUILD]", 146 "cwd": "[SLAVE_BUILD]",
140 "name": "Download GS file with polling" 147 "name": "Download GS file with polling"
141 } 148 }
142 ] 149 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698