Bug 1336201 - Do not skip the "get-secrets" step during an artifact build. draft
authorChris Manchester <cmanchester@mozilla.com>
Fri, 03 Feb 2017 10:57:43 -0800
changeset 470450 322e5448d025619205f70a151270f7685e5391b5
parent 469700 fc352d66e7bce2a4d8635c1b8a815b62616420b5
child 544476 558229e55391fdf7890fba3098d456e953edea3d
push id44027
push userbmo:cmanchester@mozilla.com
push dateFri, 03 Feb 2017 18:58:03 +0000
bugs1336201
milestone54.0a1
Bug 1336201 - Do not skip the "get-secrets" step during an artifact build. MozReview-Commit-ID: 3dyXKL01Dyc
testing/mozharness/mozharness/mozilla/secrets.py
--- a/testing/mozharness/mozharness/mozilla/secrets.py
+++ b/testing/mozharness/mozharness/mozilla/secrets.py
@@ -41,20 +41,16 @@ class SecretsMixin(object):
 
         The `filename` key in the dictionary gives the filename to which the
         secret should be written.
 
         The optional `min_scm_level` key gives a minimum SCM level at which this
         secret is required.  For lower levels, the value of the 'default` key
         is used, or no secret is written.
         """
-        if self.config.get('forced_artifact_build'):
-            self.info('Skipping due to forced artifact build.')
-            return
-
         secret_files = self.config.get('secret_files', [])
 
         scm_level = self.config.get('scm_level', 1)
         subst = {
             'scm-level': scm_level,
         }
 
         for sf in secret_files: