aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-01-03 20:03:00 +0200
committerPaul Sokolovsky <paul.sokolovsky@linaro.org>2014-01-03 20:03:00 +0200
commit81c5545f7d857904c6d44acf513202c4c89b6091 (patch)
tree0443efa7764b98fc5dbecfd551b373283e8b3826 /scripts
parent28f3ea42a609fffc87c60bb20f633aa003205f1b (diff)
LAVA-933: Disable any special handling for Android BUILD-INFO.txt.
Will be removed once confirmed that all parts work ok with new publishing schedule.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/publish_to_snapshots.py21
1 files changed, 13 insertions, 8 deletions
diff --git a/scripts/publish_to_snapshots.py b/scripts/publish_to_snapshots.py
index 5ea10a5..9e9bbe0 100755
--- a/scripts/publish_to_snapshots.py
+++ b/scripts/publish_to_snapshots.py
@@ -367,8 +367,9 @@ class SnapshotsPublisher(object):
if not os.path.isdir(target_dir_path):
raise OSError
- if (args.job_type == "android"):
- self.reshuffle_android_artifacts(build_dir_path)
+# Disabled per LAVA-933. See below.
+# if (args.job_type == "android"):
+# self.reshuffle_android_artifacts(build_dir_path)
self.move_dir_content(build_dir_path, target_dir_path,
sanitize=args.staging)
@@ -478,9 +479,10 @@ def main():
os.chmod(tmp_bi, 0644)
try:
- if args.job_type == 'android':
- publisher.combine_buildinfo(
- build_dir_path, target_dir_path, tmp_bi)
+# See below
+# if args.job_type == 'android':
+# publisher.combine_buildinfo(
+# build_dir_path, target_dir_path, tmp_bi)
ret = publisher.move_artifacts(
args, build_dir_path, target_dir_path)
@@ -489,9 +491,12 @@ def main():
print "Move Failed"
return FAIL
- if args.job_type == 'android':
- rewrite_build_info(
- build_dir_path, target_dir_path, tmp_bi)
+# Disabled per LAVA-933. Once rest of migration happens on builds' side
+# (proper BUILD-INFO.txt's prepared, etc.), this block and rewrite_build_info()
+# can be removed.
+# if args.job_type == 'android':
+# rewrite_build_info(
+# build_dir_path, target_dir_path, tmp_bi)
print "Move succeeded"
return PASS
finally: