mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 04:58:26 +00:00
gcloud: Wed Nov 1 10:29:29 UTC 2023
This commit is contained in:
parent
ecf00beb5e
commit
f2c5d1d45f
371 changed files with 9433 additions and 9676 deletions
|
|
@ -19,7 +19,7 @@ GROUPS
|
|||
(BETA) Manage connections for Google Cloud Build.
|
||||
|
||||
repositories
|
||||
(BETA) Manage repositories for Google Cloud Build.
|
||||
(BETA) Manage repositories for Cloud Build.
|
||||
|
||||
triggers
|
||||
(BETA) Create and manage build triggers for Google Cloud Build.
|
||||
|
|
@ -49,7 +49,7 @@ COMMANDS
|
|||
(BETA) Reject a pending build.
|
||||
|
||||
submit
|
||||
(BETA) Submit a build using Google Cloud Build.
|
||||
(BETA) Submit a build using Cloud Build.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
NAME
|
||||
gcloud beta builds repositories - manage repositories for Google Cloud
|
||||
Build
|
||||
gcloud beta builds repositories - manage repositories for Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds repositories COMMAND [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Manage repositories for Google Cloud Build.
|
||||
(BETA) Manage repositories for Cloud Build.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
NAME
|
||||
gcloud beta builds submit - submit a build using Google Cloud Build
|
||||
gcloud beta builds submit - submit a build using Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds submit [[SOURCE] --no-source] [--async] [--no-cache]
|
||||
|
|
@ -16,7 +16,7 @@ SYNOPSIS
|
|||
| --tag=TAG, -t TAG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Submit a build using Google Cloud Build.
|
||||
(BETA) Submit a build using Cloud Build.
|
||||
|
||||
When the builds/use_kaniko property is True, builds submitted with --tag
|
||||
will use Kaniko (https://github.com/GoogleContainerTools/kaniko) to execute
|
||||
|
|
@ -42,6 +42,20 @@ EXAMPLES
|
|||
$ gcloud beta builds submit "source.tgz" \
|
||||
--tag=gcr.io/my-project/image --async
|
||||
|
||||
To submit a build with source from a Git repository
|
||||
https://github.com/owner/repo:
|
||||
|
||||
$ gcloud beta builds submit "https://github.com/owner/repo" \
|
||||
--git-source-revision=main --config=config.yaml
|
||||
|
||||
To submit a build with source from a 2nd-gen Cloud Build repository
|
||||
resource
|
||||
projects/my-project/locations/us-west1/connections/my-conn/repositories/my-repo:
|
||||
|
||||
$ gcloud beta builds submit \
|
||||
"projects/my-project/locations/us-west1/connections/my-conn/repo\
|
||||
sitories/my-repo" --revision=main
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
@ -79,10 +93,10 @@ 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 Google 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.
|
||||
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.
|
||||
|
||||
--disk-size=DISK_SIZE
|
||||
Machine disk size (GB) to run the build.
|
||||
|
|
@ -136,7 +150,7 @@ 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 Google Cloud Build repository resource.
|
||||
build source is a 2nd-gen Cloud Build repository resource.
|
||||
|
||||
Cloud Build uses git fetch to fetch the revision from the Git
|
||||
repository; therefore make sure that the string you provide for
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ COMMANDS
|
|||
(BETA) Import a build trigger.
|
||||
|
||||
list
|
||||
(BETA) List Google Cloud Build triggers for a project.
|
||||
(BETA) List Cloud Build triggers for a project.
|
||||
|
||||
run
|
||||
(BETA) Run a build trigger.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
NAME
|
||||
gcloud beta builds triggers list - list Google Cloud Build triggers for a
|
||||
project
|
||||
gcloud beta builds triggers list - list Cloud Build triggers for a project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers list [--region=REGION] [--filter=EXPRESSION]
|
||||
|
|
@ -8,7 +7,7 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) List Google Cloud Build triggers for a project.
|
||||
(BETA) List Cloud Build triggers for a project.
|
||||
|
||||
EXAMPLES
|
||||
To list build triggers, run:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update bitbucketserver - updates Bitbucket
|
||||
Server trigger used by Google Cloud Build
|
||||
Server trigger used by Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update bitbucketserver
|
||||
|
|
@ -21,7 +21,7 @@ SYNOPSIS
|
|||
| --update-substitutions=[KEY=VALUE,...]) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Updates Bitbucket Server trigger used by Google Cloud Build.
|
||||
(BETA) Updates Bitbucket Server trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch pattern of the trigger:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update cloud-source-repositories - updates
|
||||
Cloud Source Repositories trigger used by Google Cloud Build
|
||||
Cloud Source Repositories trigger used by Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update cloud-source-repositories
|
||||
|
|
@ -16,8 +16,7 @@ SYNOPSIS
|
|||
| --update-substitutions=[KEY=VALUE,...]) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Updates Cloud Source Repositories trigger used by Google Cloud
|
||||
Build.
|
||||
(BETA) Updates Cloud Source Repositories trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch pattern of the trigger:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update github - update GitHub trigger used by
|
||||
Google Cloud Build
|
||||
Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update github (TRIGGER : --region=REGION)
|
||||
|
|
@ -20,7 +20,7 @@ SYNOPSIS
|
|||
--repo-name=REPO_NAME --repo-owner=REPO_OWNER) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update GitHub trigger used by Google Cloud Build.
|
||||
(BETA) Update GitHub trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch pattern of the trigger:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update gitlab - updates GitLab trigger used by
|
||||
Google Cloud Build
|
||||
Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update gitlab (TRIGGER : --region=REGION)
|
||||
|
|
@ -17,7 +17,7 @@ SYNOPSIS
|
|||
| --update-substitutions=[KEY=VALUE,...]) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Updates GitLab trigger used by Google Cloud Build.
|
||||
(BETA) Updates GitLab trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch pattern of the trigger:
|
||||
|
|
|
|||
|
|
@ -16,26 +16,25 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
bitbucketserver
|
||||
(BETA) Updates Bitbucket Server trigger used by Google Cloud Build.
|
||||
(BETA) Updates Bitbucket Server trigger used by Cloud Build.
|
||||
|
||||
cloud-source-repositories
|
||||
(BETA) Updates Cloud Source Repositories trigger used by Google Cloud
|
||||
Build.
|
||||
(BETA) Updates Cloud Source Repositories trigger used by Cloud Build.
|
||||
|
||||
github
|
||||
(BETA) Update GitHub trigger used by Google Cloud Build.
|
||||
(BETA) Update GitHub trigger used by Cloud Build.
|
||||
|
||||
gitlab
|
||||
(BETA) Updates GitLab trigger used by Google Cloud Build.
|
||||
(BETA) Updates GitLab trigger used by Cloud Build.
|
||||
|
||||
manual
|
||||
(BETA) Updates a manual trigger used by Google Cloud Build.
|
||||
(BETA) Updates a manual trigger used by Cloud Build.
|
||||
|
||||
pubsub
|
||||
(BETA) Update a Pub/Sub trigger used by Google Cloud Build.
|
||||
(BETA) Update a Pub/Sub trigger used by Cloud Build.
|
||||
|
||||
webhook
|
||||
(BETA) Update a Webhook trigger used by Google Cloud Build.
|
||||
(BETA) Update a Webhook trigger used by Cloud Build.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update manual - updates a manual trigger used
|
||||
by Google Cloud Build
|
||||
by Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update manual (TRIGGER : --region=REGION)
|
||||
|
|
@ -17,7 +17,7 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Updates a manual trigger used by Google Cloud Build.
|
||||
(BETA) Updates a manual trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch from which the trigger clones:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update pubsub - update a Pub/Sub trigger used
|
||||
by Google Cloud Build
|
||||
by Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update pubsub (TRIGGER : --region=REGION)
|
||||
|
|
@ -18,7 +18,7 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a Pub/Sub trigger used by Google Cloud Build.
|
||||
(BETA) Update a Pub/Sub trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch from which the trigger clones:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds triggers update webhook - update a Webhook trigger used
|
||||
by Google Cloud Build
|
||||
by Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds triggers update webhook (TRIGGER : --region=REGION)
|
||||
|
|
@ -18,7 +18,7 @@ SYNOPSIS
|
|||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a Webhook trigger used by Google Cloud Build.
|
||||
(BETA) Update a Webhook trigger used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To update the branch from which the trigger clones:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds worker-pools create - create a worker pool for use by
|
||||
Google Cloud Build
|
||||
Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds worker-pools create WORKER_POOL --region=REGION
|
||||
|
|
@ -10,7 +10,7 @@ SYNOPSIS
|
|||
--worker-machine-type=WORKER_MACHINE_TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Create a worker pool for use by Google Cloud Build.
|
||||
(BETA) Create a worker pool for use by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To create a worker pool named wp1 in region us-central1, run:
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
NAME
|
||||
gcloud beta builds worker-pools describe - describe a worker pool used by
|
||||
Google Cloud Build
|
||||
Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds worker-pools describe WORKER_POOL --region=REGION
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Describe a worker pool used by Google Cloud Build.
|
||||
(BETA) Describe a worker pool used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To get information about a worker pool named wp1 in region us-central1,
|
||||
|
|
|
|||
|
|
@ -17,19 +17,19 @@ COMMANDS
|
|||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(BETA) Create a worker pool for use by Google Cloud Build.
|
||||
(BETA) Create a worker pool for use by Cloud Build.
|
||||
|
||||
delete
|
||||
(BETA) Delete a worker pool from Google Cloud Build.
|
||||
|
||||
describe
|
||||
(BETA) Describe a worker pool used by Google Cloud Build.
|
||||
(BETA) Describe a worker pool used by Cloud Build.
|
||||
|
||||
list
|
||||
(BETA) List all worker pools in a Google Cloud project.
|
||||
|
||||
update
|
||||
(BETA) Update a worker pool used by Google Cloud Build.
|
||||
(BETA) Update a worker pool used by Cloud Build.
|
||||
|
||||
NOTES
|
||||
This command is currently in beta and might change without notice. These
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
NAME
|
||||
gcloud beta builds worker-pools update - update a worker pool used by
|
||||
Google Cloud Build
|
||||
gcloud beta builds worker-pools update - update a worker pool used by Cloud
|
||||
Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud beta builds worker-pools update WORKER_POOL --region=REGION
|
||||
|
|
@ -9,7 +9,7 @@ SYNOPSIS
|
|||
--worker-machine-type=WORKER_MACHINE_TYPE) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(BETA) Update a worker pool used by Google Cloud Build.
|
||||
(BETA) Update a worker pool used by Cloud Build.
|
||||
|
||||
EXAMPLES
|
||||
To change the machine type and disk size of workers in a worker pool named
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue