Index: scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/packages.json |
diff --git a/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/packages.json b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/packages.json |
new file mode 100644 |
index 0000000000000000000000000000000000000000..576f53d2670c5064a498bc067056391cf2161fd8 |
--- /dev/null |
+++ b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/packages.json |
@@ -0,0 +1,352 @@ |
+[ |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
+ "--", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
+ "----", |
+ "cat", |
+ "gs://appengine-sdks/featured/VERSION" |
+ ], |
+ "name": "gsutil Get Latest", |
+ "stdout": "/path/to/tmp/", |
+ "~followup_annotations": [ |
+ "@@@STEP_TEXT@ 1.2.3@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[depot_tools::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": [], |
+ "name": "Sync infra/gae_sdk/go/linux-386" |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "search", |
+ "infra/gae_sdk/go/linux-386", |
+ "--tag", |
+ "gae_sdk_version:1.2.3", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-386.cipd search infra/gae_sdk/go/linux-386 gae_sdk_version:1.2.3", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_1---\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/linux-386\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_2---\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/linux-386\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ]@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "import sys; sys.exit(0)" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-386.Synced", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_TEXT@Package is up to date.@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64" |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "search", |
+ "infra/gae_sdk/go/linux-amd64", |
+ "--tag", |
+ "gae_sdk_version:1.2.3", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64.cipd search infra/gae_sdk/go/linux-amd64 gae_sdk_version:1.2.3", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
+ "--", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
+ "----", |
+ "cp", |
+ "gs://appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.2.3.zip", |
+ "[TMP_BASE]/gae_sdk_tmp_2/go_appengine_sdk_linux_amd64-1.2.3.zip" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64.gsutil Download go linux-amd64", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::zip]/resources/unzip.py" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64.Unzip go linux-amd64", |
+ "stdin": "{\"output\": \"[TMP_BASE]/gae_sdk_tmp_2/unpack\", \"quiet\": true, \"zip_file\": \"[TMP_BASE]/gae_sdk_tmp_2/go_appengine_sdk_linux_amd64-1.2.3.zip\"}", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "pkg-build", |
+ "--in", |
+ "[TMP_BASE]/gae_sdk_tmp_2/unpack/go_appengine", |
+ "--name", |
+ "infra/gae_sdk/go/linux-amd64", |
+ "--out", |
+ "[TMP_BASE]/gae_sdk_package_tmp_1/gae_sdk_go_linux-amd64.pkg", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--install-mode", |
+ "copy" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64.build linux-amd64", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/linux-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "pkg-register", |
+ "[TMP_BASE]/gae_sdk_package_tmp_1/gae_sdk_go_linux-amd64.pkg", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json", |
+ "--ref", |
+ "latest", |
+ "--tag", |
+ "gae_sdk_version:1.2.3" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/linux-amd64.register infra/gae_sdk/go/linux-amd64", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/linux-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [], |
+ "name": "Sync infra/gae_sdk/go/mac-amd64" |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "search", |
+ "infra/gae_sdk/go/mac-amd64", |
+ "--tag", |
+ "gae_sdk_version:1.2.3", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/mac-amd64.cipd search infra/gae_sdk/go/mac-amd64 gae_sdk_version:1.2.3", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_1---\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/mac-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }, @@@", |
+ "@@@STEP_LOG_LINE@json.output@ {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-instance_id_2---\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/go/mac-amd64\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@ ]@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "import sys; sys.exit(0)" |
+ ], |
+ "name": "Sync infra/gae_sdk/go/mac-amd64.Synced", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_TEXT@Package is up to date.@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [], |
+ "name": "Sync infra/gae_sdk/python/all" |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "search", |
+ "infra/gae_sdk/python/all", |
+ "--tag", |
+ "gae_sdk_version:1.2.3", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json" |
+ ], |
+ "name": "Sync infra/gae_sdk/python/all.cipd search infra/gae_sdk/python/all gae_sdk_version:1.2.3", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
+ "--", |
+ "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
+ "----", |
+ "cp", |
+ "gs://appengine-sdks/featured/google_appengine_1.2.3.zip", |
+ "[TMP_BASE]/gae_sdk_tmp_3/google_appengine_1.2.3.zip" |
+ ], |
+ "name": "Sync infra/gae_sdk/python/all.gsutil Download python all", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_MODULE[build::zip]/resources/unzip.py" |
+ ], |
+ "name": "Sync infra/gae_sdk/python/all.Unzip python all", |
+ "stdin": "{\"output\": \"[TMP_BASE]/gae_sdk_tmp_3/unpack\", \"quiet\": true, \"zip_file\": \"[TMP_BASE]/gae_sdk_tmp_3/google_appengine_1.2.3.zip\"}", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "pkg-build", |
+ "--in", |
+ "[TMP_BASE]/gae_sdk_tmp_3/unpack/google_appengine", |
+ "--name", |
+ "infra/gae_sdk/python/all", |
+ "--out", |
+ "[TMP_BASE]/gae_sdk_package_tmp_1/gae_sdk_python_all.pkg", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--install-mode", |
+ "copy" |
+ ], |
+ "name": "Sync infra/gae_sdk/python/all.build all", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/python/all\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "cmd": [ |
+ "[SLAVE_BUILD]/cipd/cipd", |
+ "pkg-register", |
+ "[TMP_BASE]/gae_sdk_package_tmp_1/gae_sdk_python_all.pkg", |
+ "--json-output", |
+ "/path/to/tmp/json", |
+ "--service-account-json", |
+ "/creds/service_accounts/service-account-cipd-builder.json", |
+ "--ref", |
+ "latest", |
+ "--tag", |
+ "gae_sdk_version:1.2.3" |
+ ], |
+ "name": "Sync infra/gae_sdk/python/all.register infra/gae_sdk/python/all", |
+ "~followup_annotations": [ |
+ "@@@STEP_NEST_LEVEL@1@@@", |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/gae_sdk/python/all\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@ }@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
+ "name": "$result", |
+ "recipe_result": null, |
+ "status_code": 0 |
+ } |
+] |