GIT_NEW_ID = os.environ.get('GIT_NEW_ID')
GIT_BRANCH_NAME = os.environ.get('GIT_BRANCH_NAME')
-SOURCE_BUILD = os.environ.get('SOURCE_BUILD')
-
GIT_COMMITTER_EMAIL = os.environ.get('GIT_COMMITTER_EMAIL')
SMTP_SERVER = 'roma.profitbricks.localdomain'
def build_kernel_with_pbuilder(revision, pbuilder_script, dist='stable'):
pbuilder_script = os.path.abspath(pbuilder_script)
- if SOURCE_BUILD:
+ if os.environ.get('SOURCE_BUILD'):
SOURCE_BUILD='--source-only'
else:
SOURCE_BUILD=''