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

Unified Diff: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json

Issue 863393002: Archive binaries on the deterministic build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: . Created 5 years, 11 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/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json
diff --git a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json
index f30229c48fdcde2603abbb4bb0be4a2f9910693f..5b2984f185c041d8fd2f18fe7a0f260f5da13960 100644
--- a/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json
+++ b/scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_IOS_deterministic_build.json
@@ -70,7 +70,7 @@
],
"env": {
"GYP_CROSSCOMPILE": "1",
- "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library dont_embed_build_metadata=1",
+ "GYP_DEFINES": "OS=ios chromium_ios_signing=0 component=static_library dont_embed_build_metadata=1 test_isolation_mode=prepare",
"GYP_GENERATORS": "ninja",
"GYP_GENERATOR_FLAGS": "xcode_project_version=3.2"
},
@@ -110,6 +110,39 @@
"cmd": [
"python",
"-u",
+ "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write('\\n'.join(glob.glob(sys.argv[2])))\n",
+ "/path/to/tmp/",
+ "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json"
+ ],
+ "name": "find isolated targets"
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
+ "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
+ "batcharchive",
+ "--dump-json",
+ "/path/to/tmp/json",
+ "--isolate-server",
+ "https://isolateserver.appspot.com",
+ "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json",
+ "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json"
+ ],
+ "name": "isolate tests",
+ "~followup_annotations": [
+ "@@@STEP_LOG_LINE@json.output@{@@@",
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@",
+ "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@",
+ "@@@STEP_LOG_LINE@json.output@}@@@",
+ "@@@STEP_LOG_END@json.output@@@",
+ "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
+ ]
+ },
+ {
+ "cmd": [
+ "python",
+ "-u",
"\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])",
"[SLAVE_BUILD]/src/out/Release",
"[SLAVE_BUILD]/src/out/Release.1"

Powered by Google App Engine
This is Rietveld 408576698