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

Side by Side Diff: scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 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 "[CWD]/go/src",
8 "511" 8 "511"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]",
11 "name": "makedirs makedirs go/src", 10 "name": "makedirs makedirs go/src",
12 "~followup_annotations": [ 11 "~followup_annotations": [
13 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
15 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
16 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
17 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
19 "@@@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@@@",
20 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
22 "@@@STEP_LOG_END@python.inline@@@" 21 "@@@STEP_LOG_END@python.inline@@@"
23 ] 22 ]
24 }, 23 },
25 { 24 {
26 "cmd": [ 25 "cmd": [
27 "git", 26 "git",
28 "remote", 27 "remote",
29 "set-url", 28 "set-url",
30 "origin", 29 "origin",
31 "https://skia.googlesource.com/buildbot" 30 "https://skia.googlesource.com/buildbot"
32 ], 31 ],
33 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 32 "cwd": "[CWD]/go/src/go.skia.org/infra",
34 "name": "git remote" 33 "name": "git remote"
35 }, 34 },
36 { 35 {
37 "cmd": [ 36 "cmd": [
38 "git", 37 "git",
39 "fetch", 38 "fetch",
40 "origin" 39 "origin"
41 ], 40 ],
42 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 41 "cwd": "[CWD]/go/src/go.skia.org/infra",
43 "name": "git fetch" 42 "name": "git fetch"
44 }, 43 },
45 { 44 {
46 "cmd": [ 45 "cmd": [
47 "git", 46 "git",
48 "clean", 47 "clean",
49 "-d", 48 "-d",
50 "-f" 49 "-f"
51 ], 50 ],
52 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 51 "cwd": "[CWD]/go/src/go.skia.org/infra",
53 "name": "git clean" 52 "name": "git clean"
54 }, 53 },
55 { 54 {
56 "cmd": [ 55 "cmd": [
57 "git", 56 "git",
58 "reset", 57 "reset",
59 "--hard", 58 "--hard",
60 "origin/master" 59 "origin/master"
61 ], 60 ],
62 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 61 "cwd": "[CWD]/go/src/go.skia.org/infra",
63 "name": "git reset" 62 "name": "git reset"
64 }, 63 },
65 { 64 {
66 "cmd": [ 65 "cmd": [
67 "go", 66 "go",
68 "get", 67 "get",
69 "-u", 68 "-u",
70 "./..." 69 "./..."
71 ], 70 ],
72 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 71 "cwd": "[CWD]/go/src/go.skia.org/infra",
73 "env": { 72 "env": {
74 "GIT_USER_AGENT": "git/1.9.1", 73 "GIT_USER_AGENT": "git/1.9.1",
75 "GOPATH": "[SLAVE_BUILD]/go", 74 "GOPATH": "[CWD]/go",
76 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 75 "PATH": "[CWD]/go/bin:%(PATH)s"
77 }, 76 },
78 "name": "update_deps" 77 "name": "update_deps"
79 }, 78 },
80 { 79 {
81 "cmd": [ 80 "cmd": [
82 "git", 81 "git",
83 "remote", 82 "remote",
84 "set-url", 83 "set-url",
85 "origin", 84 "origin",
86 "https://skia.googlesource.com/buildbot" 85 "https://skia.googlesource.com/buildbot"
87 ], 86 ],
88 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 87 "cwd": "[CWD]/go/src/go.skia.org/infra",
89 "name": "git remote (2)" 88 "name": "git remote (2)"
90 }, 89 },
91 { 90 {
92 "cmd": [ 91 "cmd": [
93 "git", 92 "git",
94 "fetch", 93 "fetch",
95 "origin" 94 "origin"
96 ], 95 ],
97 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 96 "cwd": "[CWD]/go/src/go.skia.org/infra",
98 "name": "git fetch (2)" 97 "name": "git fetch (2)"
99 }, 98 },
100 { 99 {
101 "cmd": [ 100 "cmd": [
102 "git", 101 "git",
103 "clean", 102 "clean",
104 "-d", 103 "-d",
105 "-f" 104 "-f"
106 ], 105 ],
107 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 106 "cwd": "[CWD]/go/src/go.skia.org/infra",
108 "name": "git clean (2)" 107 "name": "git clean (2)"
109 }, 108 },
110 { 109 {
111 "cmd": [ 110 "cmd": [
112 "git", 111 "git",
113 "reset", 112 "reset",
114 "--hard", 113 "--hard",
115 "origin/master" 114 "origin/master"
116 ], 115 ],
117 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 116 "cwd": "[CWD]/go/src/go.skia.org/infra",
118 "name": "git reset (2)" 117 "name": "git reset (2)"
119 }, 118 },
120 { 119 {
121 "cmd": [ 120 "cmd": [
122 "git", 121 "git",
123 "rev-parse", 122 "rev-parse",
124 "HEAD" 123 "HEAD"
125 ], 124 ],
126 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 125 "cwd": "[CWD]/go/src/go.skia.org/infra",
127 "name": "git rev-parse", 126 "name": "git rev-parse",
128 "stdout": "/path/to/tmp/", 127 "stdout": "/path/to/tmp/",
129 "~followup_annotations": [ 128 "~followup_annotations": [
130 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@" 129 "@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@"
131 ] 130 ]
132 }, 131 },
133 { 132 {
134 "cmd": [ 133 "cmd": [
135 "go", 134 "go",
136 "get", 135 "get",
137 "golang.org/x/tools/cmd/goimports" 136 "golang.org/x/tools/cmd/goimports"
138 ], 137 ],
139 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 138 "cwd": "[CWD]/go/src/go.skia.org/infra",
140 "env": { 139 "env": {
141 "GIT_USER_AGENT": "git/1.9.1", 140 "GIT_USER_AGENT": "git/1.9.1",
142 "GOPATH": "[SLAVE_BUILD]/go", 141 "GOPATH": "[CWD]/go",
143 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 142 "PATH": "[CWD]/go/bin:%(PATH)s"
144 }, 143 },
145 "name": "install goimports" 144 "name": "install goimports"
146 }, 145 },
147 { 146 {
148 "cmd": [ 147 "cmd": [
149 "go", 148 "go",
150 "get", 149 "get",
151 "github.com/kisielk/errcheck" 150 "github.com/kisielk/errcheck"
152 ], 151 ],
153 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 152 "cwd": "[CWD]/go/src/go.skia.org/infra",
154 "env": { 153 "env": {
155 "GIT_USER_AGENT": "git/1.9.1", 154 "GIT_USER_AGENT": "git/1.9.1",
156 "GOPATH": "[SLAVE_BUILD]/go", 155 "GOPATH": "[CWD]/go",
157 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 156 "PATH": "[CWD]/go/bin:%(PATH)s"
158 }, 157 },
159 "name": "install errcheck" 158 "name": "install errcheck"
160 }, 159 },
161 { 160 {
162 "cmd": [ 161 "cmd": [
163 "./setup_test_db" 162 "./setup_test_db"
164 ], 163 ],
165 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra/go/database", 164 "cwd": "[CWD]/go/src/go.skia.org/infra/go/database",
166 "env": { 165 "env": {
167 "GIT_USER_AGENT": "git/1.9.1", 166 "GIT_USER_AGENT": "git/1.9.1",
168 "GOPATH": "[SLAVE_BUILD]/go", 167 "GOPATH": "[CWD]/go",
169 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 168 "PATH": "[CWD]/go/bin:%(PATH)s"
170 }, 169 },
171 "name": "setup database" 170 "name": "setup database"
172 }, 171 },
173 { 172 {
174 "cmd": [ 173 "cmd": [
175 "python", 174 "python",
176 "-u", 175 "-u",
177 "run_unittests" 176 "run_unittests"
178 ], 177 ],
179 "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra", 178 "cwd": "[CWD]/go/src/go.skia.org/infra",
180 "env": { 179 "env": {
181 "GIT_USER_AGENT": "git/1.9.1", 180 "GIT_USER_AGENT": "git/1.9.1",
182 "GOPATH": "[SLAVE_BUILD]/go", 181 "GOPATH": "[CWD]/go",
183 "KARMA_PORT": "15001", 182 "KARMA_PORT": "15001",
184 "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s" 183 "PATH": "[CWD]/go/bin:%(PATH)s"
185 }, 184 },
186 "name": "run_unittests" 185 "name": "run_unittests"
187 }, 186 },
188 { 187 {
189 "name": "$result", 188 "name": "$result",
190 "recipe_result": null, 189 "recipe_result": null,
191 "status_code": 0 190 "status_code": 0
192 } 191 }
193 ] 192 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/skia/infra.py ('k') | scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_initialcheckout.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698