| Index: scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json
|
| diff --git a/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json b/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json
|
| index 617fcd5a61403e10a302e8118692826672313915..c1f08fed7c22f4e40b417f438f77a3699416357d 100644
|
| --- a/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json
|
| +++ b/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit.json
|
| @@ -4,9 +4,10 @@
|
| "python",
|
| "-u",
|
| "\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",
|
| - "[CWD]/go/src",
|
| + "[SLAVE_BUILD]/go/src",
|
| "511"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "makedirs makedirs go/src",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -29,7 +30,7 @@
|
| "origin",
|
| "https://skia.googlesource.com/buildbot"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git remote"
|
| },
|
| {
|
| @@ -38,7 +39,7 @@
|
| "fetch",
|
| "origin"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -48,7 +49,7 @@
|
| "-d",
|
| "-f"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -58,7 +59,7 @@
|
| "--hard",
|
| "origin/master"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git reset"
|
| },
|
| {
|
| @@ -68,11 +69,11 @@
|
| "-u",
|
| "./..."
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[CWD]/go",
|
| - "PATH": "[CWD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[SLAVE_BUILD]/go",
|
| + "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| },
|
| "name": "update_deps"
|
| },
|
| @@ -84,7 +85,7 @@
|
| "origin",
|
| "https://skia.googlesource.com/buildbot"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git remote (2)"
|
| },
|
| {
|
| @@ -93,7 +94,7 @@
|
| "fetch",
|
| "origin"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git fetch (2)"
|
| },
|
| {
|
| @@ -103,7 +104,7 @@
|
| "-d",
|
| "-f"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git clean (2)"
|
| },
|
| {
|
| @@ -113,7 +114,7 @@
|
| "--hard",
|
| "origin/master"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git reset (2)"
|
| },
|
| {
|
| @@ -122,7 +123,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "name": "git rev-parse",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -135,11 +136,11 @@
|
| "get",
|
| "golang.org/x/tools/cmd/goimports"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[CWD]/go",
|
| - "PATH": "[CWD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[SLAVE_BUILD]/go",
|
| + "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| },
|
| "name": "install goimports"
|
| },
|
| @@ -149,11 +150,11 @@
|
| "get",
|
| "github.com/kisielk/errcheck"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[CWD]/go",
|
| - "PATH": "[CWD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[SLAVE_BUILD]/go",
|
| + "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| },
|
| "name": "install errcheck"
|
| },
|
| @@ -161,11 +162,11 @@
|
| "cmd": [
|
| "./setup_test_db"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra/go/database",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra/go/database",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[CWD]/go",
|
| - "PATH": "[CWD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[SLAVE_BUILD]/go",
|
| + "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| },
|
| "name": "setup database"
|
| },
|
| @@ -175,12 +176,12 @@
|
| "-u",
|
| "run_unittests"
|
| ],
|
| - "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| + "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[CWD]/go",
|
| + "GOPATH": "[SLAVE_BUILD]/go",
|
| "KARMA_PORT": "15001",
|
| - "PATH": "[CWD]/go/bin:%(PATH)s"
|
| + "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| },
|
| "name": "run_unittests"
|
| },
|
|
|