Index: recipes/recipes/infra_continuous.expected/infra_internal.json |
diff --git a/recipes/recipes/infra_continuous.expected/infra_internal.json b/recipes/recipes/infra_continuous.expected/infra_internal.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..60b90e9bf4b31221ac3ea6a16c0094be1ac34ff6 |
--- /dev/null |
+++ b/recipes/recipes/infra_continuous.expected/infra_internal.json |
@@ -0,0 +1,161 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
+ "--master", |
+ "internal.infra", |
+ "--builder", |
+ "infra-internal-continuous", |
+ "--slave", |
+ "TestSlavename", |
+ "--spec", |
+ "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra_internal', 'url': 'https://chrome-internal.googlesource.com/infra/infra_internal.git'}]", |
+ "--root", |
+ "infra_internal", |
+ "--revision_mapping_file", |
+ "{\"infra_internal\": \"got_revision\"}", |
+ "--git-cache-dir", |
+ "[GIT_CACHE]", |
+ "--output_json", |
+ "/path/to/tmp/json", |
+ "--revision", |
+ "infra_internal@c14d891d44f0afff64e56ed7c9702df1d807b1ee", |
+ "--force", |
+ "--output_manifest" |
+ ], |
+ "env": { |
+ "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
+ }, |
+ "name": "bot_update", |
+ "~followup_annotations": [ |
+ "@@@STEP_TEXT@Some step text@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"infra_internal\": \"c14d891d44f0afff64e56ed7c9702df1d807b1ee\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"infra_internal\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra_internal.git\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0a18b32e3a93913e1090d1ee6b8965c6dc3116d6\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"infra_internal\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"0a18b32e3a93913e1090d1ee6b8965c6dc3116d6\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#190894}\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"root\": \"infra_internal\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@", |
+ "@@@SET_BUILD_PROPERTY@got_revision@\"0a18b32e3a93913e1090d1ee6b8965c6dc3116d6\"@@@", |
+ "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#190894}\"@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
+ "runhooks" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/infra_internal", |
+ "env": { |
+ "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
+ }, |
+ "name": "gclient runhooks" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "test.py", |
+ "test" |
+ ], |
+ "cwd": "[SLAVE_BUILD]/infra_internal", |
+ "name": "infra python tests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/infra_internal/go/env.py", |
+ "go", |
+ "version" |
+ ], |
+ "name": "go third parties" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/infra_internal/go/env.py", |
+ "python", |
+ "[SLAVE_BUILD]/infra_internal/go/test.py" |
+ ], |
+ "name": "infra go tests" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/infra_internal/build/build.py", |
+ "--builder", |
+ "infra-internal-continuous" |
+ ], |
+ "name": "cipd - build packages" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/infra_internal/build/test_packages.py" |
+ ], |
+ "name": "cipd - test packages integrity" |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "[SLAVE_BUILD]/infra_internal/build/build.py", |
+ "--no-rebuild", |
+ "--upload", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--builder", |
+ "infra-internal-continuous", |
+ "--tags", |
+ "buildbot_build:internal.infra/infra-internal-continuous/123", |
+ "git_repository:https://chrome-internal.googlesource.com/infra/infra_internal", |
+ "git_revision:0a18b32e3a93913e1090d1ee6b8965c6dc3116d6" |
+ ], |
+ "name": "cipd - upload packages", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"failed\": [], @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"succeeded\": [@@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"info\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"abcdefabcdef63ad814cd1dfffe2fcfc9f81299c\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/some_tool/linux-bitness\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"pkg_def_name\": \"some_tool\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ]@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@", |
+ "@@@STEP_LINK@infra/tools/some_tool/linux-bitness abcdefabcdef63ad814cd1dfffe2fcfc9f81299c@http://example.com/not-implemented-yet@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "recipe_result": null, |
+ "status_code": 0 |
+ } |
+] |