Skip to content

Commit

Permalink
feat: [cloudbuild] Add allow_failure, exit_code, and allow_exit_code …
Browse files Browse the repository at this point in the history
…to BuildStep message (googleapis#8694)

* feat: Add allow_failure, exit_code, and allow_exit_code to BuildStep message

Committer: @arvinddayal
PiperOrigin-RevId: 484308212

Source-Link: googleapis/googleapis@bc84ad5

Source-Link: https://github.com/googleapis/googleapis-gen/commit/c6550a66efe7595832473efe51a58ddd0a05c2d8
Copy-Tag: eyJwIjoiamF2YS1jbG91ZGJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJjNjU1MGE2NmVmZTc1OTU4MzI0NzNlZmU1MWE1OGRkZDBhMDVjMmQ4In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Oct 28, 2022
1 parent aca3d92 commit 334b050
Show file tree
Hide file tree
Showing 10 changed files with 1,022 additions and 477 deletions.
6 changes: 3 additions & 3 deletions java-cloudbuild/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-build</artifactId>
<version>3.5.6</version>
<version>3.7.0</version>
</dependency>
```

If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-build:3.5.6'
implementation 'com.google.cloud:google-cloud-build:3.7.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.5.6"
libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.7.0"
```

## Authentication
Expand Down
3 changes: 2 additions & 1 deletion java-cloudbuild/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,5 @@
<module>proto-google-cloud-build-v1</module>
<module>google-cloud-build-bom</module>
</modules>
</project>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -1927,7 +1927,7 @@ public com.google.cloudbuild.v1.BuildOptions.LogStreamingOption getLogStreamingO
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The workerPool.
*/
@java.lang.Override
Expand All @@ -1953,7 +1953,7 @@ public java.lang.String getWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The bytes for workerPool.
*/
@java.lang.Override
Expand Down Expand Up @@ -3837,7 +3837,7 @@ public Builder clearLogStreamingOption() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The workerPool.
*/
@java.lang.Deprecated
Expand All @@ -3862,7 +3862,7 @@ public java.lang.String getWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The bytes for workerPool.
*/
@java.lang.Deprecated
Expand All @@ -3887,7 +3887,7 @@ public com.google.protobuf.ByteString getWorkerPoolBytes() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @param value The workerPool to set.
* @return This builder for chaining.
*/
Expand All @@ -3911,7 +3911,7 @@ public Builder setWorkerPool(java.lang.String value) {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand All @@ -3931,7 +3931,7 @@ public Builder clearWorkerPool() {
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @param value The bytes for workerPool to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public interface BuildOptionsOrBuilder
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The workerPool.
*/
@java.lang.Deprecated
Expand All @@ -259,7 +259,7 @@ public interface BuildOptionsOrBuilder
* <code>string worker_pool = 7 [deprecated = true];</code>
*
* @deprecated google.devtools.cloudbuild.v1.BuildOptions.worker_pool is deprecated. See
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1769
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1784
* @return The bytes for workerPool.
*/
@java.lang.Deprecated
Expand Down

0 comments on commit 334b050

Please sign in to comment.