New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80457


Ignore:
Timestamp:
07/13/11 07:18:39 (4 years ago)
Author:
wsiegrist@…
Message:

Switch deploy_archives to a master command and add privkey path to config file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/buildbot/master.cfg

    r80285 r80457  
    2121 
    2222production = False 
     23privkey = '' 
    2324if os.path.exists(_path('config.json')): 
    2425    with open(_path('config.json')) as f: 
    25         production = json.load(f)['production'] 
     26        configdata = json.load(f) 
     27        production = configdata['production'] 
     28        privkey = configdata['privkey'] 
    2629 
    2730####### BUILDSLAVES 
     
    150153    prefix='/opt/local' 
    151154    src_prefix='/opt/mports' 
    152     # FIXME 
    153     dlhost='mparchives.local' 
    154     dlpath='/archives' 
     155    dlhost='' 
     156    dlpath='/www/hosts/packages.macports.org' 
    155157else: 
    156158    prefix='%(workdir)s/opt/local' 
     
    174176                      env={'PREFIX': WithProperties(prefix), 
    175177                           'SRC_PREFIX': WithProperties(src_prefix)})) 
     178 
    176179# sign generated binaries and sync to download server (if distributable) 
    177 ports_factory.addStep(ShellCommand(command=["./deploy_archives.sh"], 
     180ports_factory.addStep(MasterShellCommand(command=["mpab/deploy_archives.sh"], 
    178181                                   name="deploy archives", 
    179182                                   description="deploy archives", 
    180183                      env={'PREFIX': WithProperties(prefix), 
     184                           'PRIVKEY': privkey, 
    181185                           'DLHOST': dlhost, 
    182186                           'DLPATH': dlpath})) 
Note: See TracChangeset for help on using the changeset viewer.