mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 06:47:12 +00:00
gcloud: Wed May 8 09:17:12 UTC 2024
This commit is contained in:
parent
48fac7efd4
commit
e8259d86b1
110 changed files with 1686 additions and 651 deletions
|
|
@ -58,6 +58,14 @@ EXAMPLES
|
|||
"projects/my-project/locations/us-west1/connections/my-conn/repo\
|
||||
sitories/my-repo" --revision=main
|
||||
|
||||
To submit a build with source from a Developer Connect GitRepositoryLink
|
||||
resource
|
||||
projects/my-project/locations/us-west1/connections/my-conn/gitRepositoryLinks/my-repo-link:
|
||||
|
||||
$ gcloud alpha builds submit \
|
||||
"projects/my-project/locations/us-west1/connections/my-conn/gitR\
|
||||
epositoryLinks/my-repo-link" --revision=main
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
@ -96,9 +104,9 @@ FLAGS
|
|||
--dir=DIR
|
||||
Directory, relative to the source root, in which to run the build. This
|
||||
is used when the build source is a 2nd-gen Cloud Build repository
|
||||
resource. This must be a relative path. If a step's dir is specified
|
||||
and is an absolute path, this value is ignored for that step's
|
||||
execution.
|
||||
resource, or a Developer Connect GitRepositoryLink resource. This must
|
||||
be a relative path. If a step's dir is specified and is an absolute
|
||||
path, this value is ignored for that step's execution.
|
||||
|
||||
--disk-size=DISK_SIZE
|
||||
Machine disk size (GB) to run the build.
|
||||
|
|
@ -157,7 +165,8 @@ FLAGS
|
|||
--revision=REVISION
|
||||
Revision to fetch from the Git repository such as a branch, a tag, a
|
||||
commit SHA, or any Git ref to run the build. This is used when the
|
||||
build source is a 2nd-gen Cloud Build repository resource.
|
||||
build source is a 2nd-gen Cloud Build repository resource, or a
|
||||
Developer Connect GitRepositoryLink resource.
|
||||
|
||||
Cloud Build uses git fetch to fetch the revision from the Git
|
||||
repository; therefore make sure that the string you provide for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue