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

Side by Side 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, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "RECIPE_MODULE[cipd]/resources/bootstrap.py"
7 ],
8 "cwd": "[SLAVE_BUILD]",
9 "name": "install cipd",
10 "stdin": "{\"bin_path\": \"[SLAVE_BUILD]/cipd\", \"platform\": \"linux-amd64 \"}"
11 },
12 {
13 "cmd": [
14 "[SLAVE_BUILD]/cipd/cipd",
15 "ensure",
16 "--root",
17 "[TMP_BASE]/cipd-example_tmp_1/bin",
18 "--list",
19 "infra/monitoring/dispatcher/linux-amd64 7f751b2237df2fdf3c1405be00590feff fbaea2d"
20 ],
21 "cwd": "[SLAVE_BUILD]",
22 "name": "ensure_installed"
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
29 "[TMP_BASE]/cipd-example_tmp_1"
30 ],
31 "cwd": "[SLAVE_BUILD]",
32 "name": "rmtree cleanup",
33 "~followup_annotations": [
34 "@@@STEP_LOG_LINE@python.inline@@@@",
35 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
36 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
37 "@@@STEP_LOG_LINE@python.inline@@@@",
38 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
39 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
40 "@@@STEP_LOG_END@python.inline@@@"
41 ]
42 }
43 ]
OLDNEW
« 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