Turn off gsubmodd and remove it from milo.

Bug: 922280
Change-Id: Iaee24793fe39874b0443d2616f2daa6f3f6d9a6d
Reviewed-on: https://chromium-review.googlesource.com/c/1411935
Commit-Queue: Joey Scarr <jsca@chromium.org>
Commit-Queue: Owen Rodley <orodley@chromium.org>
Auto-Submit: Joey Scarr <jsca@chromium.org>
Reviewed-by: Owen Rodley <orodley@chromium.org>
Cr-Commit-Position: refs/heads/master@{#20006}
Cr-Mirrored-Commit: a0ca1d02bce43cc9045b1e1edf49227d51fc4c17
diff --git a/infra/config/global/cr-buildbucket.cfg b/infra/config/global/cr-buildbucket.cfg
index 34e60a5..b135e10 100644
--- a/infra/config/global/cr-buildbucket.cfg
+++ b/infra/config/global/cr-buildbucket.cfg
@@ -127,14 +127,6 @@
 }
 
 builder_mixins {
-  name: "codesearch-gsubmodd"
-  mixins: "infra recipe"
-  recipe {
-    name: "gsubmodd"
-  }
-}
-
-builder_mixins {
   name: "infra try"
   mixins: "cache_infra_gclient_with_go"
   recipe {
@@ -516,34 +508,6 @@
         properties: "target_repo:https://chromium.googlesource.com/experimental/codesearch/grimoire/chromium/src"
       }
     }
-    builders {
-      name: "gsubmodd-src"
-      dimensions: "os:Ubuntu-14.04"
-      mixins: "codesearch-gsubmodd"
-      execution_timeout_secs: 14400 # 4 hours
-      recipe {
-        properties: "source_repo:https://chromium.googlesource.com/chromium/src"
-        # Without caching, it takes nearly an hour just to set up the initial
-        # clone, before we even start processing it.  Recent experience suggests
-        # that we can get through 500 commits in around 15 minutes; so perhaps
-        # it's safe enough to try going for 5000 in the remaining 3 hours.
-        properties: "limit:5000"
-        properties: "target_repo:https://chromium.googlesource.com/experimental/codesearch/chromium/src"
-      }
-    }
-    builders {
-      name: "gsubmodd-infra"
-      dimensions: "os:Ubuntu-14.04"
-      mixins: "codesearch-gsubmodd"
-      execution_timeout_secs: 14400 # 4 hours
-      recipe {
-        properties: "source_repo:https://chromium.googlesource.com/infra/infra"
-        # Impose a modest per-invocation limit on number of commits processed,
-        # during initial bootstrap, until we catch up to present time.
-        properties: "limit:1000"
-        properties: "target_repo:https://chromium.googlesource.com/experimental/codesearch/infra/infra"
-      }
-    }
   }
 }
 
diff --git a/infra/config/global/luci-milo.cfg b/infra/config/global/luci-milo.cfg
index 662d3b6..83af452 100644
--- a/infra/config/global/luci-milo.cfg
+++ b/infra/config/global/luci-milo.cfg
@@ -335,16 +335,6 @@
     category: "update-submodules-mirror"
     short_name: "src"
   }
-  builders {
-    name: "buildbucket/luci.infra.codesearch/gsubmodd-infra"
-    category: "gsubmodd"
-    short_name: "infra"
-  }
-  builders {
-    name: "buildbucket/luci.infra.codesearch/gsubmodd-src"
-    category: "gsubmodd"
-    short_name: "src"
-  }
 }
 
 consoles {
diff --git a/infra/config/global/luci-scheduler.cfg b/infra/config/global/luci-scheduler.cfg
index d30ffc8..a488739 100644
--- a/infra/config/global/luci-scheduler.cfg
+++ b/infra/config/global/luci-scheduler.cfg
@@ -628,28 +628,6 @@
 }
 
 job {
-  id: "gsubmodd-infra"
-  acl_sets: "default"
-  schedule: "0 * * * *"
-  buildbucket: {
-    server: "cr-buildbucket.appspot.com"
-    bucket: "luci.infra.codesearch"
-    builder: "gsubmodd-infra"
-  }
-}
-
-job {
-  id: "gsubmodd-src"
-  acl_sets: "default"
-  schedule: "0 * * * *"
-  buildbucket: {
-    server: "cr-buildbucket.appspot.com"
-    bucket: "luci.infra.codesearch"
-    builder: "gsubmodd-src"
-  }
-}
-
-job {
   id: "gsubtreed-chromium"
   acl_sets: "default"
   schedule: "continuously"