Skip to content

Commit

Permalink
feat: [cloudbuild] Add optional field "SourceFetcher" to choose sourc…
Browse files Browse the repository at this point in the history
…e fetcher tool (#4784)

* feat: Add optional field "SourceFetcher" to choose source fetcher tool

Committer: @ronanww
PiperOrigin-RevId: 578565021

Source-Link: googleapis/googleapis@1bb99dc

Source-Link: googleapis/googleapis-gen@19c44b3
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWRldnRvb2xzLWNsb3VkYnVpbGQvLk93bEJvdC55YW1sIiwiaCI6IjE5YzQ0YjMzMTExMjE1NzNlNDNmZTg5YmJjOGFlMGE2ZmZhMTU1NDgifQ==

* 🦉 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>
Co-authored-by: Alexander Fenster <[email protected]>
  • Loading branch information
3 people authored Nov 3, 2023
1 parent 76591a4 commit ff42e4e
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -528,6 +528,21 @@ message StorageSource {
// Cloud Storage generation for the object. If the generation is
// omitted, the latest generation will be used.
int64 generation = 3;

// Specifies the tool to fetch the source file for the build.
enum SourceFetcher {
// Unspecified. Defaults to GSUTIL.
SOURCE_FETCHER_UNSPECIFIED = 0;

// Use the "gsutil" tool to download the source file.
GSUTIL = 1;

// Use the Cloud Storage Fetcher tool to download the source file.
GCS_FETCHER = 2;
}

// Option to specify the tool to fetch the source file for the build.
SourceFetcher source_fetcher = 5 [(google.api.field_behavior) = OPTIONAL];
}

// Location of the source in any accessible Git repository.
Expand Down
16 changes: 16 additions & 0 deletions packages/google-devtools-cloudbuild/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions packages/google-devtools-cloudbuild/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions packages/google-devtools-cloudbuild/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff42e4e

Please sign in to comment.