This is an automated email from the ASF dual-hosted git repository.
yichi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 50e6249 Minor fix to prebuilding sdk workflow timeout setting
new b39ff90 Merge pull request #14899 from y1chi/prebuild_timeout
50e6249 is described below
commit 50e6249bc9053fcd41a94a89abfe6c04dd9fd394
Author: Yichi Zhang <[email protected]>
AuthorDate: Thu May 27 17:06:32 2021 -0700
Minor fix to prebuilding sdk workflow timeout setting
---
sdks/python/apache_beam/runners/portability/sdk_container_builder.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
b/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
index d712544..d1c6247 100644
--- a/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
+++ b/sdks/python/apache_beam/runners/portability/sdk_container_builder.py
@@ -36,7 +36,6 @@ import time
import uuid
from typing import Type
-from google.protobuf.duration_pb2 import Duration
from google.protobuf.json_format import MessageToJson
from apache_beam import version as beam_version
@@ -259,7 +258,7 @@ class
_SdkContainerImageCloudBuilder(SdkContainerImageBuilder):
source.storageSource.object = gcs_object
build.source = source
# TODO(zyichi): make timeout configurable
- build.timeout = Duration().FromSeconds(seconds=7200)
+ build.timeout = '7200s'
now = time.time()
# operation = client.create_build(project_id=project_id, build=build)