Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [cloudbuild] Integration of Cloud Build with Artifact Registry #8702

Merged
merged 2 commits into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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