Increase build timeout to 10 hours (fix #978)

This commit is contained in:
Abhishek Arya 2017-11-12 19:40:27 -08:00 committed by GitHub
parent 21d1a4cfe6
commit 259cb3849d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ from oauth2client.client import GoogleCredentials
from oauth2client.service_account import ServiceAccountCredentials
from googleapiclient.discovery import build
BUILD_TIMEOUT = 10 * 60 * 60
CONFIGURATIONS = {
'sanitizer-address' : [ 'SANITIZER=address' ],
'sanitizer-memory' : [ 'SANITIZER=memory' ],
@ -260,7 +262,7 @@ def main():
build_body = {
'steps': get_build_steps(project_yaml, dockerfile_path),
'timeout': str(6 * 3600) + 's',
'timeout': str(BUILD_TIMEOUT) + 's',
'options': options,
'logsBucket': 'oss-fuzz-gcb-logs',
'images': [ project_yaml['image'] ],