Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: scripts/slave/recipe_modules/cipd/example.expected/basic.json

Issue 1193813004: cipd recipe_module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: coverage -> 100% Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/cipd/example.expected/basic.json
diff --git a/scripts/slave/recipe_modules/cipd/example.expected/basic.json b/scripts/slave/recipe_modules/cipd/example.expected/basic.json
new file mode 100644
index 0000000000000000000000000000000000000000..8be5282d86e81fb7cd3a6a26eb80d0638f5dcba7
--- /dev/null
+++ b/scripts/slave/recipe_modules/cipd/example.expected/basic.json
@@ -0,0 +1,43 @@
+[
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[cipd]/resources/bootstrap.py"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "install cipd",
+ "stdin": "{\"bin_path\": \"[SLAVE_BUILD]/cipd\", \"platform\": \"linux-amd64\"}"
+ },
+ {
+ "cmd": [
+ "[SLAVE_BUILD]/cipd/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@@@"
+ ]
+ }
+]
« no previous file with comments | « scripts/slave/recipe_modules/cipd/example.py ('k') | scripts/slave/recipe_modules/cipd/example.expected/install-failed.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698