Bug 1432395 - Change cache version to force new caches; r=glandium draft
authorGregory Szorc <gps@mozilla.com>
Mon, 29 Jan 2018 15:15:41 -0800
changeset 748521 fc7107a018f067d83dbee3796d8861c5187823b2
parent 748520 9a3b6d64a64b328ed0de3d6503b99f20d1c94cfb
push id97197
push userbmo:gps@mozilla.com
push dateMon, 29 Jan 2018 23:16:02 +0000
reviewersglandium
bugs1432395
milestone60.0a1
Bug 1432395 - Change cache version to force new caches; r=glandium This is basically the same deal as e331a3b9fae2. Caching is hard. MozReview-Commit-ID: 9uWHHdnHgq1
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -866,17 +866,17 @@ def build_docker_worker_payload(config, 
         # the run-task content into the cache name. However, doing so preserves
         # the mechanism whereby changing run-task results in new caches
         # everywhere.
 
         # As an additional mechanism to force the use of different caches, the
         # string literal in the variable below can be changed. This is
         # preferred to changing run-task because it doesn't require images
         # to be rebuilt.
-        cache_version = 'v1'
+        cache_version = 'v2'
 
         if run_task:
             suffix = '-%s-%s' % (cache_version, _run_task_suffix())
 
             if out_of_tree_image:
                 name_hash = hashlib.sha256(out_of_tree_image).hexdigest()
                 suffix += name_hash[0:12]