def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, all_actions=['pull-locale-source', 'package-multi', 'summary'], require_config_file=require_config_file)
def summary(self): MercurialScript.summary(self) # TODO we probably want to make this configurable on/off locales = self.query_locales() for locale in locales: self.locales_property.setdefault(locale, "Success") self.set_buildbot_property("locales", json.dumps(self.locales_property), write_to_file=True)
def __init__(self, require_config_file=True): # abs_dirs defined already in BaseScript but is here to make pylint happy self.abs_dirs = None MercurialScript.__init__( self, config_options=self.config_options, all_actions=[ 'clobber', 'read-buildbot-config', 'download-and-extract', 'pull', 'create-virtualenv', 'install', 'run-tests', ], require_config_file=require_config_file, config={'virtualenv_modules': self.virtualenv_modules, 'require_test_zip': True}) c = self.config self.global_test_options = [] self.installer_url = c.get('installer_url') self.test_url = c.get('test_url') self.symbols_url = c.get('symbols_url') # this is so mozinstall in install() doesn't bug out if we don't run # the download_and_extract action self.installer_path = c.get('installer_path') self.binary_path = c.get('binary_path') self.abs_app_dir = None
def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, all_actions=[ "clobber", "pull", "list-locales", "setup", "repack", "upload-repacks", "submit-to-balrog", "summary", ], require_config_file=require_config_file ) self.base_package_name = None self.buildid = None self.make_ident_output = None self.repack_env = None self.revision = None self.upload_env = None self.version = None self.upload_urls = {} self.locales_property = {}
def __init__(self, require_config_file=True): buildscript_kwargs = { 'all_actions': [ "get-secrets", "clone-locales", "list-locales", "setup", "repack", "upload-repacks", "summary", ], 'config': { "hg_l10n_base": "https://hg.mozilla.org/l10n-central", "log_name": "single_locale", }, } LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs) self.base_package_name = None self.repack_env = None self.upload_env = None self.upload_urls = {}
def __init__(self, require_config_file=True): buildscript_kwargs = { 'all_actions': [ "get-secrets", "clone-locales", "list-locales", "setup", "repack", "upload-repacks", "summary", ], 'config': {}, } LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs) self.base_package_name = None self.repack_env = None self.revision = None self.upload_env = None self.version = None self.upload_urls = {} self.locales_property = {}
def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, all_actions=["pull-locale-source", "package-multi", "summary"], require_config_file=require_config_file, )
def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, all_actions=['clobber', 'pull-build-source', 'pull-locale-source', 'build', 'package-en-US', 'upload-en-US', 'add-locales', 'package-multi', 'upload-multi'], require_config_file=require_config_file)
def add_failure(self, locale, message, **kwargs): self.locales_property[locale] = "Failed" prop_key = "%s_failure" % locale prop_value = self.query_buildbot_property(prop_key) if prop_value: prop_value = "%s %s" % (prop_value, message) else: prop_value = message self.set_buildbot_property(prop_key, prop_value, write_to_file=True) MercurialScript.add_failure(self, locale, message=message, **kwargs)
def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, all_actions=['clobber', 'pull-build-source', 'pull-locale-source', 'build', 'package-en-US', 'upload-en-US', 'backup-objdir', 'restore-objdir', 'add-locales', 'package-multi', 'upload-multi', 'summary'], require_config_file=require_config_file)
def __init__(self, require_config_file=True): self.release_config = {} LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, all_actions=[ "download", "repack", "sign", "upload-signed-bits", "summary", ], require_config_file=require_config_file )
def __init__(self, require_config_file=True): self.release_config = {} LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, all_actions=[ "passphrase", "clobber", "pull", "download", "repack", "upload-unsigned-bits", "sign", "upload-signed-bits", ], require_config_file=require_config_file )
def __init__(self, require_config_file=True): self.release_config = {} LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, all_actions=[ "passphrase", "clobber", "pull", "download", "repack", "upload-unsigned-bits", "sign", "upload-signed-bits", "summary", ], require_config_file=require_config_file)
def __init__(self, require_config_file=True): buildscript_kwargs = { 'all_actions': [ "get-secrets", "clobber", "pull", "clone-locales", "list-locales", "setup", "repack", "validate-repacks-signed", "upload-repacks", "create-virtualenv", "taskcluster-upload", "submit-to-balrog", "summary", ], 'config': { 'taskcluster_credentials_file': 'oauth.txt', 'virtualenv_modules': [ 'requests==2.8.1', 'PyHawk-with-a-single-extra-commit==0.1.5', 'taskcluster==0.0.26', ], 'virtualenv_path': 'venv', }, } LocalesMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs) self.base_package_name = None self.buildid = None self.make_ident_output = None self.repack_env = None self.enUS_revision = None self.revision = None self.upload_env = None self.version = None self.upload_urls = {} self.locales_property = {}
def __init__(self, require_config_file=True): buildscript_kwargs = { 'all_actions': [ "get-secrets", "clobber", "pull", "clone-locales", "list-locales", "setup", "repack", "validate-repacks-signed", "upload-repacks", "create-virtualenv", "taskcluster-upload", "submit-to-balrog", "summary", ], 'config': { 'taskcluster_credentials_file': 'oauth.txt', 'virtualenv_modules': [ 'requests==2.8.1', 'PyHawk-with-a-single-extra-commit==0.1.5', 'taskcluster==0.0.26', ], 'virtualenv_path': 'venv', }, } LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs ) self.base_package_name = None self.buildid = None self.make_ident_output = None self.repack_env = None self.enUS_revision = None self.revision = None self.upload_env = None self.version = None self.upload_urls = {} self.locales_property = {}
def __init__(self, require_config_file=True): self.release_config = {} LocalesMixin.__init__(self) MobileSigningMixin.__init__(self) MercurialScript.__init__(self, config_options=self.config_options, all_actions=[ "passphrase", "clobber", "pull", "download-unsigned-bits", "sign", "verify-signatures", "upload-signed-bits", "create-snippets", "upload-snippets", ], require_config_file=require_config_file )
def __init__(self, require_config_file=True): LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, all_actions=[ "clobber", "pull-build-source", "pull-locale-source", "build", "package-en-US", "upload-en-US", "backup-objdir", "restore-objdir", "add-locales", "package-multi", "upload-multi", "summary", ], require_config_file=require_config_file, )
def __init__(self, require_config_file=True): buildscript_kwargs = { "all_actions": [ "clobber", "pull", "list-locales", "setup", "repack", "upload-repacks", "create-virtualenv", "taskcluster-upload", "submit-to-balrog", "summary", ], "config": { "taskcluster_credentials_file": "oauth.txt", "virtualenv_modules": [ "requests==2.8.1", "PyHawk-with-a-single-extra-commit==0.1.5", "taskcluster==0.0.15", ], "virtualenv_path": "venv", }, } LocalesMixin.__init__(self) MercurialScript.__init__( self, config_options=self.config_options, require_config_file=require_config_file, **buildscript_kwargs ) self.base_package_name = None self.buildid = None self.make_ident_output = None self.repack_env = None self.revision = None self.upload_env = None self.version = None self.upload_urls = {} self.locales_property = {}