| Index: scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.json
|
| diff --git a/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.json b/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.json
|
| index 7105c1231620ea55d5ea96bfe95bb105c5e20db9..9b2aa6949ea0ac52b0d74c4262aaf3cf7fc05fa9 100644
|
| --- a/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.json
|
| +++ b/scripts/slave/recipes/skia/infra.expected/Infra-PerCommit_try.json
|
| @@ -4,10 +4,9 @@
|
| "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",
|
| - "[SLAVE_BUILD]/go/src",
|
| + "[CWD]/go/src",
|
| "511"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "makedirs makedirs go/src",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@python.inline@@@@",
|
| @@ -27,9 +26,8 @@
|
| "git",
|
| "clone",
|
| "https://skia.googlesource.com/buildbot",
|
| - "[SLAVE_BUILD]/go/src/go.skia.org/infra"
|
| + "[CWD]/go/src/go.skia.org/infra"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git clone"
|
| },
|
| {
|
| @@ -38,7 +36,7 @@
|
| "fetch",
|
| "origin"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -48,7 +46,7 @@
|
| "-d",
|
| "-f"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -58,16 +56,16 @@
|
| "--hard",
|
| "origin/master"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git reset"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[DEPOT_TOOLS]/apply_issue.py",
|
| + "[ROOT]/b/depot_tools/apply_issue.py",
|
| "-r",
|
| - "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "[CWD]/go/src/go.skia.org/infra",
|
| "-i",
|
| "1234",
|
| "-p",
|
| @@ -76,7 +74,6 @@
|
| "https://codereview.chromium.org",
|
| "--no-auth"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "apply_issue",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@Applied issue 1234@https://codereview.chromium.org/1234@@@"
|
| @@ -89,11 +86,11 @@
|
| "-u",
|
| "./..."
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[SLAVE_BUILD]/go",
|
| - "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[CWD]/go",
|
| + "PATH": "[CWD]/go/bin:%(PATH)s"
|
| },
|
| "name": "update_deps"
|
| },
|
| @@ -102,9 +99,8 @@
|
| "git",
|
| "clone",
|
| "https://skia.googlesource.com/buildbot",
|
| - "[SLAVE_BUILD]/go/src/go.skia.org/infra"
|
| + "[CWD]/go/src/go.skia.org/infra"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "git clone (2)"
|
| },
|
| {
|
| @@ -113,7 +109,7 @@
|
| "fetch",
|
| "origin"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git fetch (2)"
|
| },
|
| {
|
| @@ -123,7 +119,7 @@
|
| "-d",
|
| "-f"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git clean (2)"
|
| },
|
| {
|
| @@ -133,16 +129,16 @@
|
| "--hard",
|
| "origin/master"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git reset (2)"
|
| },
|
| {
|
| "cmd": [
|
| "python",
|
| "-u",
|
| - "[DEPOT_TOOLS]/apply_issue.py",
|
| + "[ROOT]/b/depot_tools/apply_issue.py",
|
| "-r",
|
| - "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "[CWD]/go/src/go.skia.org/infra",
|
| "-i",
|
| "1234",
|
| "-p",
|
| @@ -151,7 +147,6 @@
|
| "https://codereview.chromium.org",
|
| "--no-auth"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "apply_issue (2)",
|
| "~followup_annotations": [
|
| "@@@STEP_LINK@Applied issue 1234@https://codereview.chromium.org/1234@@@"
|
| @@ -163,7 +158,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "name": "git rev-parse",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -176,11 +171,11 @@
|
| "get",
|
| "golang.org/x/tools/cmd/goimports"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[SLAVE_BUILD]/go",
|
| - "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[CWD]/go",
|
| + "PATH": "[CWD]/go/bin:%(PATH)s"
|
| },
|
| "name": "install goimports"
|
| },
|
| @@ -190,11 +185,11 @@
|
| "get",
|
| "github.com/kisielk/errcheck"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[SLAVE_BUILD]/go",
|
| - "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[CWD]/go",
|
| + "PATH": "[CWD]/go/bin:%(PATH)s"
|
| },
|
| "name": "install errcheck"
|
| },
|
| @@ -202,11 +197,11 @@
|
| "cmd": [
|
| "./setup_test_db"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra/go/database",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra/go/database",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[SLAVE_BUILD]/go",
|
| - "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| + "GOPATH": "[CWD]/go",
|
| + "PATH": "[CWD]/go/bin:%(PATH)s"
|
| },
|
| "name": "setup database"
|
| },
|
| @@ -216,12 +211,12 @@
|
| "-u",
|
| "run_unittests"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]/go/src/go.skia.org/infra",
|
| + "cwd": "[CWD]/go/src/go.skia.org/infra",
|
| "env": {
|
| "GIT_USER_AGENT": "git/1.9.1",
|
| - "GOPATH": "[SLAVE_BUILD]/go",
|
| + "GOPATH": "[CWD]/go",
|
| "KARMA_PORT": "15001",
|
| - "PATH": "[SLAVE_BUILD]/go/bin:%(PATH)s"
|
| + "PATH": "[CWD]/go/bin:%(PATH)s"
|
| },
|
| "name": "run_unittests"
|
| },
|
|
|