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

Side by Side Diff: scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.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 "\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 "[SLAVE_BUILD]/go/src", 7 "[SLAVE_BUILD]/go/src",
8 "511" 8 "511"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]",
10 "name": "makedirs makedirs go/src", 11 "name": "makedirs makedirs go/src",
11 "~followup_annotations": [ 12 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 13 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 14 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 16 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 18 "@@@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@@@", 19 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 21 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@" 22 "@@@STEP_LOG_END@python.inline@@@"
22 ] 23 ]
23 }, 24 },
24 { 25 {
25 "cmd": [ 26 "cmd": [
26 "git", 27 "git",
27 "clone", 28 "clone",
28 "https://skia.googlesource.com/buildbot", 29 "https://skia.googlesource.com/buildbot",
29 "[SLAVE_BUILD]/go/src/go.skia.org/infra" 30 "[SLAVE_BUILD]/go/src/go.skia.org/infra"
30 ], 31 ],
32 "cwd": "[SLAVE_BUILD]",
31 "name": "git clone" 33 "name": "git clone"
32 }, 34 },
33 { 35 {
34 "cmd": [ 36 "cmd": [
35 "git", 37 "git",
36 "fetch", 38 "fetch",
37 "origin" 39 "origin"
38 ], 40 ],
39 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 41 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
40 "name": "git fetch" 42 "name": "git fetch"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "-r", 82 "-r",
81 "[SLAVE_BUILD]/go/src/go.skia.org/infra", 83 "[SLAVE_BUILD]/go/src/go.skia.org/infra",
82 "-i", 84 "-i",
83 "1234", 85 "1234",
84 "-p", 86 "-p",
85 "1", 87 "1",
86 "-s", 88 "-s",
87 "https://codereview.chromium.org", 89 "https://codereview.chromium.org",
88 "--no-auth" 90 "--no-auth"
89 ], 91 ],
92 "cwd": "[SLAVE_BUILD]",
90 "name": "apply_issue", 93 "name": "apply_issue",
91 "~followup_annotations": [ 94 "~followup_annotations": [
92 "@@@STEP_LINK@Applied issue 1234@https://codereview.chromium.org/1234@@@" 95 "@@@STEP_LINK@Applied issue 1234@https://codereview.chromium.org/1234@@@"
93 ] 96 ]
94 }, 97 },
95 { 98 {
96 "cmd": [ 99 "cmd": [
97 "go", 100 "go",
98 "get", 101 "get",
99 "./..." 102 "./..."
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 ], 157 ],
155 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 158 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
156 "env": { 159 "env": {
157 "GIT_USER_AGENT": "git/1.9.1", 160 "GIT_USER_AGENT": "git/1.9.1",
158 "GOPATH": "[SLAVE_BUILD]/go", 161 "GOPATH": "[SLAVE_BUILD]/go",
159 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 162 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
160 }, 163 },
161 "name": "run_unittests" 164 "name": "run_unittests"
162 } 165 }
163 ] 166 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698