bug 1333584 - add vcssync gh/mozilla-conduit/conduit; r=hwine
authorDave House <dhouse@mozilla.com>
Wed, 08 Feb 2017 17:37:17 -0700
changeset 4458 57a550a9e307863ab125f1cd1c381de974caf79d
parent 4453 fd4bfece0d6c5caae1eec1569afd4e49778152e4
child 4459 bfdbe382032532daa90a5f3ece867790df6fbbef
child 4460 98b09bd2c7235a2172897ed0a212d890eebb5407
push id3563
push userdhouse@mozilla.com
push dateThu, 09 Feb 2017 00:41:54 +0000
reviewershwine
bugs1333584
bug 1333584 - add vcssync gh/mozilla-conduit/conduit; r=hwine
configs/vcs_sync/build-repos.py
--- a/configs/vcs_sync/build-repos.py
+++ b/configs/vcs_sync/build-repos.py
@@ -104,16 +104,52 @@ conversion_repos.append({
     },
 })
 
 remote_targets["nss-github"] = {
     "repo": "git@github.com:nss-dev/nss.git",
     "ssh_key": "~/.ssh/releng-github-id_rsa", "vcs": "git",
 }
 
+# conduit is here because adding it to this job was easier
+# than defining its own config file and job.
+conversion_repos.append({
+    "repo": "https://hg.mozilla.org/automation/conduit",
+    "repo_name": "conduit",
+    "conversion_dir": "conduit",
+    "targets": [{
+        "target_dest": "conduit-github",
+        "force_push": True,
+        # push all tags for parity with legacy vcs-sync behavior
+        "tag_config": {
+            "tag_regexes": [
+                "^.*$"
+            ]
+        },
+    }],
+    "vcs": "hg",
+    "mapper": {
+        "url": "https://api.pub.build.mozilla.org/mapper",
+        "project": "conduit",
+    },
+    "branch_config": {
+        "branches": {
+            "default": "master",
+        },
+        "branch_regexes": [
+            "^.*$",
+        ],
+    },
+})
+
+remote_targets["conduit-github"] = {
+    "repo": "git@github.com:mozilla-conduit/conduit.git",
+    "ssh_key": "~/.ssh/conduit-github-id_rsa", "vcs": "git",
+}
+
 # comm-central is here because adding it to this job was easier
 # than defining its own config file and job.
 conversion_repos.append({
     "repo": "https://hg.mozilla.org/comm-central",
     "repo_name": "comm-central",
     "conversion_dir": "comm-central",
     "targets": [{
         "target_dest": "comm-central-github",