adds relpro checksums builder draft
authorJordan Lund <jlund@mozilla.com>
Mon, 22 Feb 2016 14:49:01 -0800
changeset 4468 93a60a6b693301ed23c45eed906e98d68a4c5286
parent 4467 c87b90ed718d9be453fe1abcbdc92d7fe07e04b7
child 4469 7b81c8220474ca1dc044a1e3b541724a644f4f00
child 4470 fde85e245438e076ca1e81d80680a05c5a4d143d
push id3614
push userjlund@mozilla.com
push dateMon, 22 Feb 2016 23:44:02 +0000
adds relpro checksums builder MozReview-Commit-ID: GjxXIhZ1Qhe
process/release.py
--- a/process/release.py
+++ b/process/release.py
@@ -1931,9 +1931,44 @@ def generateReleasePromotionBuilders(bra
         "properties": {
             "branch": branch_name,
             "platform": None,
             "product": product,
         }
     }
     builders.append(version_bump_builder)
 
+    # checksums
+    checksums_buildername = "release-{branch}-{product}_chcksms".format(
+        branch=branch_name, product=product)
+    extra_extra_args = []
+    if product == 'fennec':
+        extra_extra_args = ['--add-action=copy-info-files']
+    checksums_mh_cfg = {
+        'scriptName': 'scripts/release/generate-checksums.py',
+        'extra_args': [
+            "--stage-product", branch_config["stage_product"][product],
+            "--bucket-name-prefix", branch_config["beetmover_candidates_bucket"],
+            "--credentials", branch_config["beetmover_credentials"],
+            "--tools-repo", branch_config["platforms"]["linux64"]["tools_repo_cache"],
+        ] + extra_extra_args
+    }
+    checksums_factory = makeMHFactory(
+        config=branch_config, pf=branch_config['platforms']['linux64'],
+        mh_cfg=checksums_mh_cfg,
+        signingServers=secrets.get("release-signing"),
+    )
+    checksums_builder = {
+        'name': checksums_buildername,
+        'slavenames': branch_config['platforms']['linux']['slaves'] +
+                      branch_config['platforms']['linux64']['slaves'],
+        'category': category_name,
+        'builddir': checksums_buildername,
+        'slavebuilddir': normalizeName(checksums_buildername),
+        'factory': checksums_factory,
+        'properties': {
+            'branch': branch_name,
+            'platform': None,
+        }
+    }
+    builders.append(checksums_builder)
+
     return builders