| [ |
| { |
| "cmd": [ |
| "/bin/echo", |
| "[TMP_BASE]/foo" |
| ], |
| "name": "step1" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources/dir/file.py" |
| ], |
| "name": "print resource" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_REPO[recipe_engine]/dir/file.py" |
| ], |
| "name": "print package dir" |
| }, |
| { |
| "cmd": [ |
| "/bin/echo", |
| "[TMP_BASE]/checkout/jerky" |
| ], |
| "name": "checkout path" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[TMP_BASE]/new_file" |
| ], |
| "name": "touch me" |
| }, |
| { |
| "cmd": [ |
| "touch", |
| "[HOME]/file" |
| ], |
| "name": "touch my home" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2" |
| ], |
| "name": "rm copy2 (initial)" |
| }, |
| { |
| "cmd": [ |
| "mkdir", |
| "-p", |
| "[START_DIR]/copy1/foo/bar" |
| ], |
| "name": "mkdirs" |
| }, |
| { |
| "cmd": [ |
| "cp", |
| "-a", |
| "[START_DIR]/copy1", |
| "[START_DIR]/copy2" |
| ], |
| "name": "cp copy1 copy2" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2/foo" |
| ], |
| "name": "rm copy2/foo" |
| }, |
| { |
| "cmd": [ |
| "rm", |
| "-rf", |
| "[START_DIR]/copy2" |
| ], |
| "name": "rm copy2" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[CACHE]", |
| "[CLEANUP]", |
| "[START_DIR]", |
| "[TMP_BASE]" |
| ], |
| "name": "base paths", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@result@base_paths: {'start_dir': ('/', 'b', 'FakeTestingCWD'), 'cleanup': ('/', 'b', 'cleanup'), 'cache': ('/', 'b', 'c'), 'tmp_base': ('/',)}@@@", |
| "@@@STEP_LOG_END@result@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[START_DIR]/some/thing" |
| ], |
| "name": "converted path [START_DIR]/some/thing" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "[START_DIR]" |
| ], |
| "name": "converted path [START_DIR]" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py" |
| ], |
| "name": "converted path RECIPE_MODULE[recipe_engine::path]/resources/module_resource.py" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE_MODULE[recipe_engine::path]/resources" |
| ], |
| "name": "converted path RECIPE_MODULE[recipe_engine::path]/resources" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py" |
| ], |
| "name": "converted path RECIPE[recipe_engine::path:examples/full].resources/recipe_resource.py" |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "RECIPE[recipe_engine::path:examples/full].resources" |
| ], |
| "name": "converted path RECIPE[recipe_engine::path:examples/full].resources" |
| }, |
| { |
| "jsonResult": null, |
| "name": "$result" |
| } |
| ] |