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

Unified Diff: scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json

Issue 2355483004: Add CIPD GAE SDK recipe module and packager. (Closed)
Patch Set: pylint Created 4 years, 2 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
Index: scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json
diff --git a/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json
new file mode 100644
index 0000000000000000000000000000000000000000..61283257e89bcf6ae055ce326754f0dfb9527e4b
--- /dev/null
+++ b/scripts/slave/recipes/infra/gae_sdk_cipd_packager.expected/bad_version_yaml.json
@@ -0,0 +1,35 @@
+[
+ {
+ "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/"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "import sys; sys.exit(1)"
+ ],
+ "name": "Version Fetch",
+ "~followup_annotations": [
+ "step returned non-zero exit code: 1",
+ "@@@STEP_TEXT@Failed to fetch latest version: Could not parse release version from YAML.@@@",
+ "@@@STEP_FAILURE@@@"
+ ]
+ },
+ {
+ "name": "$result",
+ "reason": "Step('Version Fetch') failed with return_code 1",
+ "recipe_result": null,
+ "status_code": 1
+ }
+]

Powered by Google App Engine
This is Rietveld 408576698