]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
upload kernels to new repo
authorHolger Levsen <holger@layer-acht.org>
Thu, 15 Sep 2011 10:17:41 +0000 (12:17 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 15 Sep 2011 10:17:41 +0000 (12:17 +0200)
kernel_inpbuilder.py

index cc29660f0e1688c5267da3c28d1da7a15b1a34f7..35724316e927480978d4c3a5b4d2f86aac58868b 100644 (file)
@@ -413,13 +413,14 @@ if __name__ == '__main__':
                 'debian-uploader',
                 'vae6tooZe1ec'
         )
+        ftp.cwd('/srv/profitbricks-repository/incoming')
 
         logger.info('FTP Login on %s successfull' %(ftp.host))
 
         if GIT_BRANCH_NAME.startswith('master-'):
-            ftp.cwd('stable-proposed-updates')
+            ftp.cwd('production-proposed-updates')
         else:
-            ftp.cwd('unstable-proposed-updates');
+            ftp.cwd('pre-staging');
 
         for package in glob(
                 os.path.join(GIT_TARGET_WORKSPACE, '*.deb')