| Index: scripts/slave/recipe_modules/cipd/example.expected/linux.json
|
| diff --git a/scripts/slave/recipe_modules/cipd/example.expected/linux.json b/scripts/slave/recipe_modules/cipd/example.expected/linux.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e4f5971f771e7aec25641ab069c7cd304e72df88
|
| --- /dev/null
|
| +++ b/scripts/slave/recipe_modules/cipd/example.expected/linux.json
|
| @@ -0,0 +1,43 @@
|
| +[
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[cipd]/resources/bootstrap.py"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "install cipd",
|
| + "stdin": "{\"package\": \"infra/tools/cipd/linux-amd64\", \"version\": \"9579504cec0336688292f5b0b68c3ed4e288e273\"}"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/cipd",
|
| + "ensure",
|
| + "--root",
|
| + "[TMP_BASE]/cipd-example_tmp_1/bin",
|
| + "--list",
|
| + "infra/monitoring/dispatcher/linux-amd64 7f751b2237df2fdf3c1405be00590fefffbaea2d"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "ensure_installed"
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
|
| + "[TMP_BASE]/cipd-example_tmp_1"
|
| + ],
|
| + "cwd": "[SLAVE_BUILD]",
|
| + "name": "rmtree cleanup",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
|
| + "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
|
| + "@@@STEP_LOG_END@python.inline@@@"
|
| + ]
|
| + }
|
| +]
|
|
|