def update(self): """ Update config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/codespeed', self.configDir) git.branch('https://github.com/twisted-infra/codespeed-source', '~/codespeed')
def task_updatePrivateData(self): """ Update private config. """ with settings(user=self.serviceUser): git.branch( '[email protected]:infra/buildbot-private.git', '~/private')
def task_updatePrivateData(self): """ Update private config. """ with settings(user=self.serviceUser): git.branch( '[email protected]:/git/buildbot-secrets', '~/private')
def update(self): """ Update config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/diffresource', self.configDir) bazaar.branch('lp:divmod.org', '~/divmod') # We aren't using combinator for its path munging, so stop it from doing that. run('/bin/rm -f ~/divmod/Combinator/sitecustomize.py*')
def update(self, _installDeps=False): """ Update config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/amptrac-config', self.configDir) amptracSource = 'git+https://github.com/twisted-infra/amptrac-server' if _installDeps: pip.install('{}'.format(amptracSource)) else: pip.install('--no-deps --upgrade {}'.format(amptracSource))
def update(self): """ Update config. """ with settings(user=self.serviceUser): run('mkdir -p ' + self.configDir) put( os.path.dirname(__file__) + '/*', self.configDir, mirror_local_mode=True) git.branch('https://github.com/tobami/codespeed.git', '~/codespeed') if env.get('installTestData'): exceute(self.task_installTestData)
def update(self, _installDeps=False): """ Update trac config. """ # TODO with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/trac-config', self.configDir) git.branch('https://github.com/twisted-infra/t-web', '~/website') if _installDeps: pip.install('git+https://github.com/twisted-infra/twisted-trac-source.git', python='system') pip.install('git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system') else: pip.install('--no-deps --upgrade git+https://github.com/twisted-infra/twisted-trac-source.git', python='system') pip.install('--no-deps --upgrade git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system')
def update(self, _installDeps=False): """ Update trac config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/trac-config', self.configDir) git.branch('https://github.com/twisted-infra/t-web', '~/website') pip.install('trac==1.0.1', python='system') if _installDeps: pip.install('git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system') else: pip.install('--no-deps --upgrade git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system') pip.install('spambayes==1.1b1', python='system') # This was the latest version at the time it was added. pip.install('svn+https://svn.edgewall.org/repos/trac/plugins/1.0/spam-filter@13100', python='system')
def update(self, _installDeps=False): """ Update """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/twisted-buildbot-configuration', self.configDir) buildbotSource = os.path.join(self.configDir, 'buildbot-source') git.branch('https://github.com/twisted-infra/buildbot', buildbotSource) if _installDeps: pip.install('{}'.format(os.path.join(buildbotSource, 'master')), python='python') else: pip.install('--no-deps --upgrade {}'.format(os.path.join(buildbotSource, 'master')), python='python') if env.get('installPrivateData'): self.task_updatePrivateData()
def update(self, _installDeps=False): """ Update the buildmaster environment. """ with settings(user=self.serviceUser): run('mkdir -p ' + self.configDir) run('mkdir -p ~/data/certs') run('touch ~/data/certs/buildbot.twistedmatrix.com.pem') put(os.path.dirname(__file__) + '/crontab', self.configDir, mirror_local_mode=True) put(os.path.dirname(__file__) + '/start', self.configDir, mirror_local_mode=True) buildbotSource = os.path.join(self.configDir, 'buildbot-source') buildmasterSource = os.path.join(buildbotSource, 'master') # For now we are using a buildbot eight HEAD due to a bug in # 0.8.12 # https://github.com/buildbot/buildbot/pull/1924 # A forked branch is still used to control its version. # If changes are required to this branch it should use a name # other than `eight` to reduce confusion. buildbotBranch = 'eight' git.branch( url='https://github.com/twisted-infra/buildbot', destination=buildbotSource, branch=buildbotBranch, ) self.venv.install_twisted() if _installDeps: # sqlalchemy-migrate only works with a specific version of # sqlalchemy. self.venv.install( 'sqlalchemy==0.7.10 sqlalchemy-migrate==0.7.2 ' '{}'.format(buildmasterSource)) # master.cfg uses GitHubStatus, which requires txgithub self.venv.install("txgithub") else: self.venv.install('--no-deps {}'.format(buildmasterSource)) self.updatefast()
def update(self, _installDeps=False): """ Update the buildmaster environment. """ with settings(user=self.serviceUser): run('mkdir -p ' + self.configDir) run('mkdir -p ~/data/certs') run('touch ~/data/certs/buildbot.twistedmatrix.com.pem') put( os.path.dirname(__file__) + '/crontab', self.configDir, mirror_local_mode=True) put( os.path.dirname(__file__) + '/start', self.configDir, mirror_local_mode=True) buildbotSource = os.path.join(self.configDir, 'buildbot-source') buildmasterSource = os.path.join(buildbotSource, 'master') # For now we are using a buildbot eight HEAD due to a bug in # 0.8.12 # https://github.com/buildbot/buildbot/pull/1924 # A forked branch is still used to control its version. # If changes are required to this branch it should use a name # other than `eight` to reduce confusion. buildbotBranch = 'eight' git.branch( url='https://github.com/twisted-infra/buildbot', destination=buildbotSource, branch=buildbotBranch, ) self.venv.install_twisted() if _installDeps: # sqlalchemy-migrate only works with a specific version of # sqlalchemy. self.venv.install( 'sqlalchemy==0.7.10 sqlalchemy-migrate==0.7.2 ' '{}'.format(buildmasterSource)) # master.cfg uses GitHubStatus, which requires txgithub self.venv.install("txgithub") else: self.venv.install('--no-deps {}'.format(buildmasterSource)) self.updatefast()
def update(self): """ Update config. """ with settings(user=self.serviceUser): run('mkdir -p ' + self.configDir) put( os.path.dirname(__file__) + '/*', self.configDir, mirror_local_mode=True) git.branch('https://github.com/tobami/codespeed.git', '~/codespeed') with cd("~/codespeed"): run("git checkout 0.12.0") run("git reset --hard") self.venv.install_twisted() self.venv.install('-U -r ~/codespeed/requirements.txt') if env.get('installTestData'): execute(self.task_installTestData)
def update(self, _installDeps=False): """ Update """ with settings(user=self.serviceUser): git.branch( 'https://github.com/twisted-infra/twisted-buildbot-configuration', self.configDir) buildbotSource = os.path.join(self.configDir, 'buildbot-source') git.branch('https://github.com/twisted-infra/buildbot', buildbotSource) if _installDeps: pip.install('{}'.format(os.path.join(buildbotSource, 'master')), python='python') else: pip.install('--no-deps --upgrade {}'.format( os.path.join(buildbotSource, 'master')), python='python') if env.get('installPrivateData'): self.task_updatePrivateData()
def update(self, _installDeps=False): """ Update trac config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/trac-config', self.configDir) git.branch('https://github.com/twisted-infra/t-web', '~/website') pip.install('trac==1.0.1', python='system') if _installDeps: pip.install( 'git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system') else: pip.install( '--no-deps --upgrade git+https://github.com/twisted-infra/twisted-trac-plugins.git', python='system') pip.install('spambayes==1.1b1', python='system') # This was the latest version at the time it was added. pip.install( 'svn+https://svn.edgewall.org/repos/trac/plugins/1.0/spam-filter@13100', python='system')
def update(self, _installDeps=False): """ Update """ with settings(user=self.serviceUser): run('mkdir -p ' + self.configDir) put( os.path.dirname(__file__) + '/*', self.configDir, mirror_local_mode=True) buildbotSource = os.path.join(self.configDir, 'buildbot-source') git.branch('https://github.com/twisted-infra/buildbot', buildbotSource) if _installDeps: # sqlalchemy-migrate only works with a specific version of # sqlalchemy. pip.install('sqlalchemy==0.7.10 {}'.format(os.path.join(buildbotSource, 'master')), python='python') else: pip.install('--no-deps --upgrade {}'.format(os.path.join(buildbotSource, 'master')), python='python') if env.get('installPrivateData'): self.task_updatePrivateData() else: execute(self.task_installTestData)
def update(self): """ Update config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/kenaan', self.configDir)
def update(self): """ Update config. """ with settings(user=self.serviceUser): git.branch('https://github.com/twisted-infra/t-web', self.configDir)
def task_updatePrivateData(self): """ Update private config. """ with settings(user=self.serviceUser): git.branch('[email protected]:infra/buildbot-private.git', '~/private')