aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-16 18:30:33 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2008-08-16 18:30:33 +0530
commitc2d11859491622380703ea21954f07fb484e04ba (patch)
tree8232b2b3f76dd884711407ae2f8ec95199ecc3e7 /slave/autotua/const.py
parent- Add ~username/jobs/ page (diff)
downloadautotua-c2d11859491622380703ea21954f07fb484e04ba.tar.gz
autotua-c2d11859491622380703ea21954f07fb484e04ba.tar.bz2
autotua-c2d11859491622380703ea21954f07fb484e04ba.zip
Link the master and the slave in a simplistic (for now) way:
* stage url processing is shifted to the master now * Communication is via protocol 2 (binary) pickles * slave API can be accessed via /slave_api/jobs /slave_api/jobs/<username> /slave_api/jobs/<username>/<job_name>
Diffstat (limited to 'slave/autotua/const.py')
-rw-r--r--slave/autotua/const.py26
1 files changed, 2 insertions, 24 deletions
diff --git a/slave/autotua/const.py b/slave/autotua/const.py
index db2be3f..8719570 100644
--- a/slave/autotua/const.py
+++ b/slave/autotua/const.py
@@ -25,17 +25,13 @@ JOBFILE_DIR = TARBALL_DIR+'/jobfiles'
CHROOT_DIR = TMPDIR+'/chroots/pristine'
WORKDIR = TMPDIR+'/work'
JOBTAGE_DIR = TMPDIR+'/jobtage'
+
+AUTOTUA_MASTER = 'http://www.autotua.org:8000'
JOBTAGE_URI = 'git://git.overlays.gentoo.org/proj/jobtage.git'
# Autotua variables inside the chroot
CHAUTOTUA_DIR = '/tmp/autotua'
-# Example:
-# http://gentoo.osuosl.org/releases/hppa/2008.0_beta2/stages/stage3-hppa2.0-2008.0_beta2.tar.bz2
-GENTOO_MIRRORS = ['http://gentoo.osuosl.org']
-STAGE_MIRROR_PATH = 'releases/%(gen_arch)s/%(release)s/stages'
-STAGE_FILENAME = '%(stage)s-%(arch)s-%(release)s.tar.bz2'
-
# Bind mounted inside the chroots for use if defined
PORTAGE_DIR = ''
DISTFILES_DIR = ''
@@ -48,21 +44,3 @@ if os.environ.has_key('http_proxy'):
if os.access(path+"/git-proxy-cmd.sh", os.X_OK):
prefix = ''
os.environ['GIT_PROXY_COMMAND'] = prefix+'git-proxy-cmd.sh'
-
-# Let's define a couple of jobs for now.
-# We'll get them from the server later :P
-job_list = [
- {
- # need to quantify the uniqueness of 'name'
- 'maintainer': 'bheekling',
- 'name': 'Test libbeagle',
- 'stage': 'gentoo://stage3',
- 'arch': 'i686',
- 'type': '',
- 'release': '2008.0',
- 'jobtagerev': '',
- #'overlays': ['overlays/bheekling/tag1', 'overlays/bonsaikitten/tag2']
- # These are in order of running
- 'atoms': ['>=bheekling/test-beagle-1.0', '<=bheekling/test-libbeagle-1.0', '=bheekling/build-brasero-1.0'],
- },
-]