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

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

Issue 1193813004: cipd recipe_module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: added cipd/example.expected 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/mac.json
diff --git a/scripts/slave/recipe_modules/cipd/example.expected/mac.json b/scripts/slave/recipe_modules/cipd/example.expected/mac.json
new file mode 100644
index 0000000000000000000000000000000000000000..e4f5971f771e7aec25641ab069c7cd304e72df88
--- /dev/null
+++ b/scripts/slave/recipe_modules/cipd/example.expected/mac.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@@@"
+ ]
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698