Skip to content

Commit

Permalink
feat: [cloudbuild] Integration of Cloud Build with Artifact Registry (#…
Browse files Browse the repository at this point in the history
…8702)

- [ ] Regenerate this pull request now.

Committer: @amcooper
PiperOrigin-RevId: 484745059

Source-Link: https://github.com/googleapis/googleapis/commit/b819b9552ddb98c5d2f68719c34b729cfa370fcc

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b7ff84f154b8c5bc0b32208fe6c39827a2a86451
Copy-Tag: eyJwIjoiamF2YS1jbG91ZGJ1aWxkLy5Pd2xCb3QueWFtbCIsImgiOiJiN2ZmODRmMTU0YjhjNWJjMGIzMjIwOGZlNmMzOTgyN2EyYTg2NDUxIn0=
  • Loading branch information
gcf-owl-bot[bot] committed Oct 31, 2022
1 parent 9503270 commit f2b15e1
Show file tree
Hide file tree
Showing 14 changed files with 9,109 additions and 1,260 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,158 @@ public interface ArtifactsOrBuilder
* <code>.google.devtools.cloudbuild.v1.Artifacts.ArtifactObjects objects = 2;</code>
*/
com.google.cloudbuild.v1.Artifacts.ArtifactObjectsOrBuilder getObjectsOrBuilder();

/**
*
*
* <pre>
* A list of Maven artifacts to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* Artifacts in the workspace matching specified paths globs will be uploaded
* to the specified Artifact Registry repository using the builder service
* account's credentials.
* If any artifacts fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
* </code>
*/
java.util.List<com.google.cloudbuild.v1.Artifacts.MavenArtifact> getMavenArtifactsList();
/**
*
*
* <pre>
* A list of Maven artifacts to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* Artifacts in the workspace matching specified paths globs will be uploaded
* to the specified Artifact Registry repository using the builder service
* account's credentials.
* If any artifacts fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
* </code>
*/
com.google.cloudbuild.v1.Artifacts.MavenArtifact getMavenArtifacts(int index);
/**
*
*
* <pre>
* A list of Maven artifacts to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* Artifacts in the workspace matching specified paths globs will be uploaded
* to the specified Artifact Registry repository using the builder service
* account's credentials.
* If any artifacts fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
* </code>
*/
int getMavenArtifactsCount();
/**
*
*
* <pre>
* A list of Maven artifacts to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* Artifacts in the workspace matching specified paths globs will be uploaded
* to the specified Artifact Registry repository using the builder service
* account's credentials.
* If any artifacts fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
* </code>
*/
java.util.List<? extends com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder>
getMavenArtifactsOrBuilderList();
/**
*
*
* <pre>
* A list of Maven artifacts to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* Artifacts in the workspace matching specified paths globs will be uploaded
* to the specified Artifact Registry repository using the builder service
* account's credentials.
* If any artifacts fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.MavenArtifact maven_artifacts = 3;
* </code>
*/
com.google.cloudbuild.v1.Artifacts.MavenArtifactOrBuilder getMavenArtifactsOrBuilder(int index);

/**
*
*
* <pre>
* A list of Python packages to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* The build service account credentials will be used to perform the upload.
* If any objects fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
* </code>
*/
java.util.List<com.google.cloudbuild.v1.Artifacts.PythonPackage> getPythonPackagesList();
/**
*
*
* <pre>
* A list of Python packages to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* The build service account credentials will be used to perform the upload.
* If any objects fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
* </code>
*/
com.google.cloudbuild.v1.Artifacts.PythonPackage getPythonPackages(int index);
/**
*
*
* <pre>
* A list of Python packages to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* The build service account credentials will be used to perform the upload.
* If any objects fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
* </code>
*/
int getPythonPackagesCount();
/**
*
*
* <pre>
* A list of Python packages to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* The build service account credentials will be used to perform the upload.
* If any objects fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
* </code>
*/
java.util.List<? extends com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder>
getPythonPackagesOrBuilderList();
/**
*
*
* <pre>
* A list of Python packages to be uploaded to Artifact Registry upon
* successful completion of all build steps.
* The build service account credentials will be used to perform the upload.
* If any objects fail to be pushed, the build is marked FAILURE.
* </pre>
*
* <code>repeated .google.devtools.cloudbuild.v1.Artifacts.PythonPackage python_packages = 5;
* </code>
*/
com.google.cloudbuild.v1.Artifacts.PythonPackageOrBuilder getPythonPackagesOrBuilder(int index);
}
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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @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=1784
* google/devtools/cloudbuild/v1/cloudbuild.proto;l=1880
* @return The bytes for workerPool.
*/
@java.lang.Deprecated
Expand Down
Loading

0 comments on commit f2b15e1

Please sign in to comment.