Allow pushing changes to github via scale_build

This commit is contained in:
Waqar Ahmed
2021-08-14 16:01:20 +05:00
parent 11dc2d2633
commit a5dc792b7c
4 changed files with 30 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ BUILD_TIME_OBJ = datetime.fromtimestamp(BUILD_TIME)
BUILDER_DIR = os.getenv('BUILDER_DIR', './')
BRANCH_OUT_NAME = os.getenv('NEW_BRANCH_NAME')
BRANCH_OVERRIDES = {k[:-(len('_OVERRIDE'))]: v for k, v in os.environ.items() if k.endswith('_OVERRIDE')}
GITHUB_TOKEN = os.getenv('GITHUB_TOKEN')
PARALLEL_BUILD = int(os.getenv('PARALLEL_BUILDS', max(os.cpu_count(), 8) / 4))
PKG_DEBUG = os.getenv('PKG_DEBUG', False)
SIGNING_KEY = os.getenv('SIGNING_KEY')