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

Side by Side Diff: recipe_modules/path/example.expected/linux_swarming.json

Issue 1777003003: recipe_engine: change resource API to use repo root (Closed) Base URL: https://github.com/luci/recipes-py.git@master
Patch Set: review Created 4 years, 9 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
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "/bin/echo", 4 "/bin/echo",
5 "[SLAVE_BUILD]/foo" 5 "[SLAVE_BUILD]/foo"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]", 7 "cwd": "[SLAVE_BUILD]",
8 "name": "step1" 8 "name": "step1"
9 }, 9 },
10 { 10 {
11 "cmd": [ 11 "cmd": [
12 "echo", 12 "echo",
13 "RECIPE_MODULE[recipe_engine::path]/resources/dir/file.py" 13 "RECIPE_MODULE[recipe_engine::path]/resources/dir/file.py"
14 ], 14 ],
15 "cwd": "[SLAVE_BUILD]", 15 "cwd": "[SLAVE_BUILD]",
16 "name": "print resource" 16 "name": "print resource"
17 }, 17 },
18 { 18 {
19 "cmd": [ 19 "cmd": [
20 "echo", 20 "echo",
21 "RECIPE_PACKAGE[recipe_engine]/dir/file.py" 21 "RECIPE_PACKAGE_REPO[recipe_engine]/dir/file.py"
22 ], 22 ],
23 "cwd": "[SLAVE_BUILD]", 23 "cwd": "[SLAVE_BUILD]",
24 "name": "print package dir" 24 "name": "print package dir"
25 }, 25 },
26 { 26 {
27 "cmd": [ 27 "cmd": [
28 "/bin/echo", 28 "/bin/echo",
29 "[SLAVE_BUILD]/borts/jerky" 29 "[SLAVE_BUILD]/borts/jerky"
30 ], 30 ],
31 "cwd": "[SLAVE_BUILD]", 31 "cwd": "[SLAVE_BUILD]",
32 "name": "borts path" 32 "name": "borts path"
33 }, 33 },
34 { 34 {
35 "cmd": [ 35 "cmd": [
36 "touch", 36 "touch",
37 "[SLAVE_BUILD]/new_file" 37 "[SLAVE_BUILD]/new_file"
38 ], 38 ],
39 "cwd": "[SLAVE_BUILD]", 39 "cwd": "[SLAVE_BUILD]",
40 "name": "touch me" 40 "name": "touch me"
41 }, 41 },
42 { 42 {
43 "name": "$result", 43 "name": "$result",
44 "recipe_result": null, 44 "recipe_result": null,
45 "status_code": 0 45 "status_code": 0
46 } 46 }
47 ] 47 ]
OLDNEW
« no previous file with comments | « recipe_modules/path/example.expected/linux_kitchen.json ('k') | recipe_modules/path/example.expected/mac.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698