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

Unified Diff: scripts/slave/recipes/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json

Issue 1412173008: Add simple build archiving for Mandoline binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Use api.file.read and exec() instead of execfile for test_data. Created 5 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/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json
diff --git a/scripts/slave/recipes/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json b/scripts/slave/recipes/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json
index 86afe64f04ab7d8bf14be565aaa99af8b2203c06..50703fa7f1ebd1cc0fe67d4288bbe5e3c041c80c 100644
--- a/scripts/slave/recipes/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json
+++ b/scripts/slave/recipes/chromium_mojo.expected/full_chromium_mojo_Chromium_Mojo_Linux.json
@@ -476,6 +476,66 @@
"name": "app_tests"
},
{
+ "cmd": [
+ "cat",
+ "[SLAVE_BUILD]/src/chrome/VERSION"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "get version",
+ "stdout": "/path/to/tmp/version",
+ "~followup_annotations": [
+ "@@@STEP_TEXT@Found version 37.0.2021.0@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "----",
+ "ls",
+ "gs://mandoline/"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "gsutil ls gs://mandoline/",
+ "stdout": "/path/to/tmp/",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@ls result stdout@@@@",
+ "@@@STEP_LOG_END@ls result stdout@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
+ "[SLAVE_BUILD]/src/mandoline/tools/data/FILES.cfg",
+ "/path/to/tmp/"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "read FILES.cfg"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
+ "--",
+ "[DEPOT_TOOLS]/gsutil.py",
+ "----",
+ "cp",
+ "[SLAVE_BUILD]/src/out/Release/foo",
+ "gs://mandoline/37.0.2021.0/linux/foo"
+ ],
+ "cwd": "[SLAVE_BUILD]",
+ "name": "gsutil upload",
+ "~followup_annotations": [
+ "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/mandoline/37.0.2021.0/linux/foo@@@"
+ ]
+ },
+ {
"name": "$result",
"recipe_result": null,
"status_code": 0

Powered by Google App Engine
This is Rietveld 408576698