]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
set right suite even if triggered with the slightly wrong one
authorHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 15:08:53 +0000 (16:08 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 1 Nov 2011 15:08:53 +0000 (16:08 +0100)
kernel_build.py

index 395195f5b7eaec034fcf36dbdfebb908af870417..f81912464b7470c4aafc531f549006d3ba0b1c0d 100644 (file)
@@ -45,6 +45,8 @@ SUDO = '/usr/bin/sudo'
 
 env = os.environ
 env['PB_SUITE'] = os.environ.get('DISTRIBUTION')
+if os.environ.get('DISTRIBUTION') == 'production':
+    env['PB_SUITE'] = 'production-proposed-updates'
 
 logger = logging.getLogger(sys.argv[0])
 logger.setLevel(logging.DEBUG)