mirror of https://github.com/google/oss-fuzz.git
build: Add queueTtl argument to one more place. (#4219)
This commit is contained in:
parent
3bc37fc82f
commit
ac4af2436f
|
@ -28,6 +28,7 @@ from datastore_entities import Project
|
|||
|
||||
BASE_PROJECT = 'oss-fuzz-base'
|
||||
MAX_BUILD_HISTORY_LENGTH = 64
|
||||
QUEUE_TTL_SECONDS = 60 * 60 * 24 # 24 hours.
|
||||
|
||||
|
||||
def update_build_history(project_name, build_id, build_tag):
|
||||
|
@ -82,6 +83,7 @@ def run_build(project_name, image_project, build_steps, credentials, tag):
|
|||
},
|
||||
'logsBucket': build_project.GCB_LOGS_BUCKET,
|
||||
'tags': [project_name + tag,],
|
||||
'queueTtl': str(QUEUE_TTL_SECONDS) + 's',
|
||||
}
|
||||
|
||||
cloudbuild = build('cloudbuild',
|
||||
|
|
Loading…
Reference in New Issue