]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
disable oot-module builds for now
authorHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 18:46:50 +0000 (19:46 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 18:46:50 +0000 (19:46 +0100)
debian_build.py

index a29d0837bf55ec31f719342f576f7b424ac9a269..a3ac9117f5b24b91d092557e42335978b189ba06 100755 (executable)
@@ -486,25 +486,25 @@ if __name__ == '__main__':
 
         # build out-of-tree kernel module binary packages for all defined 
         # flavours (if the package is a oot-source package)
-        FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
-        if os.path.exists(FLAVOURS_FILE):
-            logger.info('Sleeping for 60 sec. so reprepro can process upload....')
-            time.sleep(60) # give reprepro time to process
-            FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
-            fh = open(FLAVOURS_FILE, 'r')
-            for flavour in fh.readlines():
-                cmd = ['%s' % os.path.join(CWD, "build-oot.sh"),
-                       '%s' % JOB_NAME,
-                       '%s' % flavour.rstrip('\n'),
-                       '%s' % os.environ.get('DIST'),
-                       '%s' % pb_suite ]
-                logger.info('calling "%s" ...', ' '.join(cmd))
-                ret = os.system('%s' %(' '.join(cmd)))
-                if ret:
-                    logger_loud_error('"%s" returned non-zero (exitcode was: %s).' % (' '.join(cmd), ret))
-                    logger.exception(ret)
-                    exit_error()
-            fh.close()
+        #FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
+        #if os.path.exists(FLAVOURS_FILE):
+        #    logger.info('Sleeping for 60 sec. so reprepro can process upload....')
+        #    time.sleep(60) # give reprepro time to process
+        #    FLAVOURS_FILE=os.path.join(GIT_TARGET_WORKSPACE, GIT_REPO_NAME, "debian/pb_flavours")
+        #    fh = open(FLAVOURS_FILE, 'r')
+        #    for flavour in fh.readlines():
+        #        cmd = ['%s' % os.path.join(CWD, "build-oot.sh"),
+        #               '%s' % JOB_NAME,
+        #               '%s' % flavour.rstrip('\n'),
+        #               '%s' % os.environ.get('DIST'),
+        #               '%s' % pb_suite ]
+        #        logger.info('calling "%s" ...', ' '.join(cmd))
+        #        ret = os.system('%s' %(' '.join(cmd)))
+        #        if ret:
+        #            logger_loud_error('"%s" returned non-zero (exitcode was: %s).' % (' '.join(cmd), ret))
+        #            logger.exception(ret)
+        #            exit_error()
+        #    fh.close()
 
         exit_ok()