| Index: recipe_modules/git/example.expected/basic_hash.json
|
| diff --git a/recipe_modules/git/example.expected/basic_hash.json b/recipe_modules/git/example.expected/basic_hash.json
|
| index 5d1fb16bb9bea00d1b4ea68b5345e62766e40c6c..fe9468f5093aae10bb4b558ebbe65c8f4ae0c88d 100644
|
| --- a/recipe_modules/git/example.expected/basic_hash.json
|
| +++ b/recipe_modules/git/example.expected/basic_hash.json
|
| @@ -5,10 +5,11 @@
|
| "-u",
|
| "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
|
| "--path",
|
| - "[CWD]/src",
|
| + "[SLAVE_BUILD]/src",
|
| "--url",
|
| "https://chromium.googlesource.com/chromium/src.git"
|
| ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| "name": "git setup"
|
| },
|
| {
|
| @@ -19,7 +20,7 @@
|
| "origin",
|
| "--recurse-submodules"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch"
|
| },
|
| {
|
| @@ -29,7 +30,7 @@
|
| "-f",
|
| "abcdef0123456789abcdef0123456789abcdef01"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git checkout"
|
| },
|
| {
|
| @@ -38,7 +39,7 @@
|
| "rev-parse",
|
| "HEAD"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "read revision",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -53,7 +54,7 @@
|
| "-d",
|
| "-x"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git clean"
|
| },
|
| {
|
| @@ -62,7 +63,7 @@
|
| "submodule",
|
| "sync"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule sync"
|
| },
|
| {
|
| @@ -73,7 +74,7 @@
|
| "--init",
|
| "--recursive"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "submodule update"
|
| },
|
| {
|
| @@ -84,7 +85,7 @@
|
| "count-objects",
|
| "-v"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "count-objects",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -95,7 +96,7 @@
|
| "--get",
|
| "remote.origin.url"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git config remote.origin.url",
|
| "stdout": "/path/to/tmp/",
|
| "~followup_annotations": [
|
| @@ -110,7 +111,7 @@
|
| "--format=%at",
|
| "-s"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git show",
|
| "stdout": "/path/to/tmp/"
|
| },
|
| @@ -121,7 +122,7 @@
|
| "origin",
|
| "--tags"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git fetch tags"
|
| },
|
| {
|
| @@ -129,7 +130,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status"
|
| },
|
| {
|
| @@ -137,7 +138,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status can_fail_build"
|
| },
|
| {
|
| @@ -145,7 +146,7 @@
|
| "git",
|
| "status"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git status cannot_fail_build"
|
| },
|
| {
|
| @@ -154,7 +155,7 @@
|
| "rebase",
|
| "origin/master"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "my repo rebase"
|
| },
|
| {
|
| @@ -162,10 +163,10 @@
|
| "git",
|
| "bundle",
|
| "create",
|
| - "[CWD]/all.bundle",
|
| + "[SLAVE_BUILD]/all.bundle",
|
| "--all"
|
| ],
|
| - "cwd": "[CWD]/src",
|
| + "cwd": "[SLAVE_BUILD]/src",
|
| "name": "git bundle"
|
| },
|
| {
|
|
|