| Index: recipes/recipes/recipes_py_continuous.expected/basic.json
|
| diff --git a/recipes/recipes/recipes_py_continuous.expected/basic.json b/recipes/recipes/recipes_py_continuous.expected/basic.json
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7179fdd0fc407b1e210b721aee50f60d9b135182
|
| --- /dev/null
|
| +++ b/recipes/recipes/recipes_py_continuous.expected/basic.json
|
| @@ -0,0 +1,105 @@
|
| +[
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
|
| + "--spec",
|
| + "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'recipes-py', 'url': 'https://chromium.googlesource.com/external/github.com/luci/recipes-py'}]",
|
| + "--root",
|
| + "recipes-py",
|
| + "--revision_mapping_file",
|
| + "{\"recipes-py\": \"got_revision\"}",
|
| + "--git-cache-dir",
|
| + "[GIT_CACHE]",
|
| + "--output_json",
|
| + "/path/to/tmp/json",
|
| + "--revision",
|
| + "recipes-py@HEAD",
|
| + "--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@ \"recipes-py\": \"HEAD\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"recipes-py\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/recipes-py.git\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"revision\": \"edcfe0cf57183aad8ad72a82355d966b34ff412c\"@@@",
|
| + "@@@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\": \"recipes-py\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"edcfe0cf57183aad8ad72a82355d966b34ff412c\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#123695}\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ }, @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"root\": \"recipes-py\", @@@",
|
| + "@@@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@\"edcfe0cf57183aad8ad72a82355d966b34ff412c\"@@@",
|
| + "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#123695}\"@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "python",
|
| + "-u",
|
| + "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
|
| + "--platform",
|
| + "linux-amd64",
|
| + "--dest-directory",
|
| + "[SLAVE_BUILD]/cipd",
|
| + "--json-output",
|
| + "/path/to/tmp/json"
|
| + ],
|
| + "name": "install cipd",
|
| + "~followup_annotations": [
|
| + "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@",
|
| + "@@@STEP_LOG_LINE@json.output@{@@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@",
|
| + "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@",
|
| + "@@@STEP_LOG_LINE@json.output@}@@@",
|
| + "@@@STEP_LOG_END@json.output@@@"
|
| + ]
|
| + },
|
| + {
|
| + "cmd": [
|
| + "[SLAVE_BUILD]/cipd/cipd",
|
| + "create",
|
| + "--pkg-def",
|
| + "[SLAVE_BUILD]/recipes-py/infra/cipd/recipes-py.yaml",
|
| + "--json-output",
|
| + "/path/to/tmp/json",
|
| + "--service-account-json",
|
| + "/creds/service_accounts/service-account-cipd-builder.json",
|
| + "--ref",
|
| + "latest",
|
| + "--tag",
|
| + "buildbot_build://-1",
|
| + "--tag",
|
| + "git_repository:https://chromium.googlesource.com/external/github.com/luci/recipes-py",
|
| + "--tag",
|
| + "git_revision:edcfe0cf57183aad8ad72a82355d966b34ff412c"
|
| + ],
|
| + "name": "create recipes-py.yaml",
|
| + "~followup_annotations": [
|
| + "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
|
| + "@@@STEP_LOG_END@json.output (invalid)@@@"
|
| + ]
|
| + },
|
| + {
|
| + "name": "$result",
|
| + "recipe_result": null,
|
| + "status_code": 0
|
| + }
|
| +]
|
|
|