| Index: scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json
|
| diff --git a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json b/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json
|
| index 05b6f5952e94fb03dee9aca7aedae07c24fd16b5..9893ff34be996c205831a18d0cb28e9afa9cc152 100644
|
| --- a/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json
|
| +++ b/scripts/slave/recipe_modules/cipd/example.expected/describe-failed.json
|
| @@ -7,16 +7,15 @@
|
| "--platform",
|
| "linux-amd64",
|
| "--dest-directory",
|
| - "[SLAVE_BUILD]/cipd",
|
| + "[CWD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "install cipd",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| @@ -30,18 +29,17 @@
|
| "--platform",
|
| "linux-amd64",
|
| "--dest-directory",
|
| - "[SLAVE_BUILD]/cipd",
|
| + "[CWD]/cipd",
|
| "--json-output",
|
| "/path/to/tmp/json",
|
| "--version",
|
| "deadbeaf"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "install cipd (2)",
|
| "~followup_annotations": [
|
| "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| - "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"fake_slave_build/cipd\", @@@",
|
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| "@@@STEP_LOG_LINE@json.output@}@@@",
|
| "@@@STEP_LOG_END@json.output@@@"
|
| @@ -49,16 +47,15 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/cipd/cipd",
|
| + "fake_slave_build/cipd",
|
| "ensure",
|
| "--root",
|
| - "[SLAVE_BUILD]/packages",
|
| + "[CWD]/packages",
|
| "--list",
|
| "public/package/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d",
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "ensure_installed",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -74,7 +71,7 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/cipd/cipd",
|
| + "fake_slave_build/cipd",
|
| "search",
|
| "public/package/linux-amd64",
|
| "--tag",
|
| @@ -82,7 +79,6 @@
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "cipd search public/package/linux-amd64 git_revision:40-chars-long-hash",
|
| "~followup_annotations": [
|
| "@@@STEP_LOG_LINE@json.output@{@@@",
|
| @@ -98,7 +94,7 @@
|
| },
|
| {
|
| "cmd": [
|
| - "[SLAVE_BUILD]/cipd/cipd",
|
| + "fake_slave_build/cipd",
|
| "describe",
|
| "public/package/linux-amd64",
|
| "--version",
|
| @@ -106,7 +102,6 @@
|
| "--json-output",
|
| "/path/to/tmp/json"
|
| ],
|
| - "cwd": "[SLAVE_BUILD]",
|
| "name": "cipd describe public/package/linux-amd64",
|
| "~followup_annotations": [
|
| "step returned non-zero exit code: 1",
|
|
|