From: Holger Levsen Date: Thu, 25 Aug 2011 15:48:09 +0000 (+0200) Subject: needs more options to upload X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=704c0a2528a827b29884b38d45c3fc6882f7fa8d;p=profitbricks%2Fjenkins-build-scripts.git needs more options to upload --- diff --git a/build.py b/build.py index a93fc98..d7148aa 100755 --- a/build.py +++ b/build.py @@ -88,7 +88,8 @@ DPUT_OPTIONS = { 'method': 'scp', 'login': 'reprepro', 'incoming': '/srv/debian-repository/incoming/%s' %(os.environ.get('DISTRIBUTION')), - 'allow_unsigned_uploads': 0 + 'allow_unsigned_uploads': 1, + 'default_host_main': 'profitbricks' } DPUT_CF = os.path.join(GIT_TARGET_WORKSPACE, 'dput.cf') @@ -164,9 +165,9 @@ def dput_package_upload(changes_path): def create_dput_cfg(): fh = open(DPUT_CF, 'w') config = SafeConfigParser() - config.add_section('origin') + config.add_section('profitbricks') for option, value in DPUT_OPTIONS.iteritems(): - config.set('origin', '%s' %(option), '%s' %(value)) + config.set('profitbricks', '%s' %(option), '%s' %(value)) config.write(fh) fh.close() return True