зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1493056 - check for mar existence before chmoding it, and remove deprecated action, r=aki
Differential Revision: https://phabricator.services.mozilla.com/D6460 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
64b1b8b4a0
Коммит
296ae7df09
|
@ -172,7 +172,7 @@ def make_job_description(config, jobs):
|
|||
'using': 'mozharness',
|
||||
'script': 'mozharness/scripts/repackage.py',
|
||||
'job-script': 'taskcluster/scripts/builder/repackage.sh',
|
||||
'actions': ['download_input', 'setup', 'repackage'],
|
||||
'actions': ['setup', 'repackage'],
|
||||
'extra-workspace-cache-key': 'repackage',
|
||||
'extra-config': {
|
||||
'repackage_config': repackage_config,
|
||||
|
|
|
@ -12,7 +12,6 @@ class Repackage(BaseScript):
|
|||
def __init__(self, require_config_file=False):
|
||||
script_kwargs = {
|
||||
'all_actions': [
|
||||
"download_input",
|
||||
"setup",
|
||||
"repackage",
|
||||
],
|
||||
|
@ -31,7 +30,7 @@ class Repackage(BaseScript):
|
|||
mar_path = os.path.join(dirs['abs_input_dir'], 'mar')
|
||||
if self._is_windows():
|
||||
mar_path += '.exe'
|
||||
if mar_path:
|
||||
if mar_path and os.path.exists(mar_path):
|
||||
self.chmod(mar_path, 0755)
|
||||
if self.config.get("run_configure", True):
|
||||
self._get_mozconfig()
|
||||
|
|
Загрузка…
Ссылка в новой задаче