Skip to content
This repository was archived by the owner on Dec 31, 2023. It is now read-only.

Commit 8336413

Browse files
feat: add script field to BuildStep message (#154)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 392761119 Source-Link: googleapis/googleapis@3cd708e Source-Link: https://github.com/googleapis/googleapis-gen/commit/05d56192ca207d89227b4b28a73bbeab312bd097
1 parent 94ee4f9 commit 8336413

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

google/cloud/devtools/cloudbuild_v1/types/cloudbuild.py

+5
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,10 @@ class BuildStep(proto.Message):
361361
this time, build step status is only updated on
362362
build completion; step status is not updated in
363363
real-time as the build progresses.
364+
script (str):
365+
A shell script to be executed in the step.
366+
When script is provided, the user cannot specify
367+
the entrypoint or args.
364368
"""
365369

366370
name = proto.Field(proto.STRING, number=1,)
@@ -376,6 +380,7 @@ class BuildStep(proto.Message):
376380
pull_timing = proto.Field(proto.MESSAGE, number=13, message="TimeSpan",)
377381
timeout = proto.Field(proto.MESSAGE, number=11, message=duration_pb2.Duration,)
378382
status = proto.Field(proto.ENUM, number=12, enum="Build.Status",)
383+
script = proto.Field(proto.STRING, number=19,)
379384

380385

381386
class Volume(proto.Message):

0 commit comments

Comments
 (0)