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

Unified Diff: scripts/slave/recipes_test/toolkit.basic.expected

Issue 15270004: Add step generator protocol, remove annotated_checkout, remove script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Address comments and change expected json output format Created 7 years, 7 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
« no previous file with comments | « scripts/slave/recipes_test/toolkit.py ('k') | scripts/slave/unittests/recipe_util_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes_test/toolkit.basic.expected
diff --git a/scripts/slave/recipes_test/toolkit.basic.expected b/scripts/slave/recipes_test/toolkit.basic.expected
index 5e2cecb2a25afda625f10d7ab46fa14446039187..0d27e40dfaeb878fe2055aa7fc4d7340ed182734 100644
--- a/scripts/slave/recipes_test/toolkit.basic.expected
+++ b/scripts/slave/recipes_test/toolkit.basic.expected
@@ -1 +1,37 @@
-"[BUILD_ROOT]/slave/fake_slave/build/toolkit/buildbot/gen_steps.py"
+[
+ {
+ "cmd": ["[BUILD_ROOT]/scripts/slave/git_setup.py", "--path", "[SLAVE_BUILD_ROOT]/toolkit", "--url", "https://github.com/toolkitchen/toolkit.git"],
+ "name": "git setup",
+ "seed_steps": ["git setup", "git fetch", "git update-ref", "git clean", "git checkout", "git submodule"]
+ },
+ {
+ "cmd": ["git", "--work-tree", "[SLAVE_BUILD_ROOT]/toolkit", "--git-dir", "[SLAVE_BUILD_ROOT]/toolkit/.git", "fetch", "origin", "--recurse-submodules"],
+ "name": "git fetch"
+ },
+ {
+ "cmd": ["git", "--work-tree", "[SLAVE_BUILD_ROOT]/toolkit", "--git-dir", "[SLAVE_BUILD_ROOT]/toolkit/.git", "update-ref", "refs/heads/master", "origin/master"],
+ "name": "git update-ref"
+ },
+ {
+ "cmd": ["git", "--work-tree", "[SLAVE_BUILD_ROOT]/toolkit", "--git-dir", "[SLAVE_BUILD_ROOT]/toolkit/.git", "clean", "-f", "-d", "-X"],
+ "name": "git clean"
+ },
+ {
+ "cmd": ["git", "--work-tree", "[SLAVE_BUILD_ROOT]/toolkit", "--git-dir", "[SLAVE_BUILD_ROOT]/toolkit/.git", "checkout", "-f", "master"],
+ "name": "git checkout"
+ },
+ {
+ "cmd": ["git", "--work-tree", "[SLAVE_BUILD_ROOT]/toolkit", "--git-dir", "[SLAVE_BUILD_ROOT]/toolkit/.git", "submodule", "update", "--init", "--recursive"],
+ "name": "git submodule"
+ },
+ {
+ "cmd": ["[SLAVE_BUILD_ROOT]/toolkit/buildbot/gen_steps.py", "--factory-properties", "{\"recipe\": \"toolkit\"}", "--build-properties", "{\"blamelist\": [\"cool_dev1337@chromium.org\"], \"patchset\": 1, \"rietveld\": \"https://chromiumcodereview.appspot.com\", \"issue\": 12853011, \"repository\": \"https://github.com/toolkitchen/toolkit\"}", "--output-json", "/path/to/tmp/json"],
+ "cwd": "[SLAVE_BUILD_ROOT]/toolkit",
+ "name": "gen step(gen_steps.py)"
+ },
+ {
+ "cmd": ["bogus.py", "--arg"],
+ "name": "bogus",
+ "seed_steps": ["bogus"]
+ }
+]
« no previous file with comments | « scripts/slave/recipes_test/toolkit.py ('k') | scripts/slave/unittests/recipe_util_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698