1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-13 08:27:05 +00:00

gcloud: Thu Jun 22 10:31:35 UTC 2023

This commit is contained in:
Automated 2023-06-22 10:31:35 +00:00
parent 2102dc5511
commit dc0d916cee
219 changed files with 5076 additions and 1639 deletions

View file

@ -21,6 +21,9 @@ COMMANDS
list
List the job runs.
terminate
Terminates a Cloud Deploy job run.
NOTES
These variants are also available:

View file

@ -0,0 +1,95 @@
NAME
gcloud deploy job-runs terminate - terminates a Cloud Deploy job run
SYNOPSIS
gcloud deploy job-runs terminate
(JOB_RUN : --delivery-pipeline=DELIVERY_PIPELINE
--region=REGION --release=RELEASE --rollout=ROLLOUT)
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Terminates a Cloud Deploy job run.
EXAMPLES
To terminate a job run test-jobrun, for delivery pipeline 'test-pipeline',
release 'test-release', rollout 'test-rollout', in region 'us-central1',
run:
$ gcloud deploy job-runs terminate test-jobrun \
--delivery-pipeline=test-pipeline --release=test-release \
--rollout=test-rollout --region=us-central1
POSITIONAL ARGUMENTS
Job run resource - The name of the Job Run. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument job_run on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
JOB_RUN
ID of the job_run or fully qualified identifier for the job_run.
To set the name attribute:
▸ provide the argument job_run on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--delivery-pipeline=DELIVERY_PIPELINE
The delivery pipeline associated with the job_run. Alternatively, set
the property [deploy/delivery-pipeline].
To set the delivery-pipeline attribute:
▸ provide the argument job_run on the command line with a fully
specified name;
▸ provide the argument --delivery-pipeline on the command line;
▸ set the property deploy/delivery_pipeline.
--region=REGION
The Cloud region for the job_run. Alternatively, set the property
[deploy/region].
To set the region attribute:
▸ provide the argument job_run on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property deploy/region.
--release=RELEASE
The release associated with the job_run.
To set the release attribute:
▸ provide the argument job_run on the command line with a fully
specified name;
▸ provide the argument --release on the command line.
--rollout=ROLLOUT
The rollout associated with the job_run.
To set the rollout attribute:
▸ provide the argument job_run on the command line with a fully
specified name;
▸ provide the argument --rollout on the command line.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha deploy job-runs terminate
$ gcloud beta deploy job-runs terminate

View file

@ -5,7 +5,8 @@ NAME
SYNOPSIS
gcloud deploy releases create
(RELEASE : --delivery-pipeline=DELIVERY_PIPELINE --region=REGION)
[--annotations=[KEY=VALUE,...]] [--description=DESCRIPTION]
[--annotations=[KEY=VALUE,...]] [--deploy-parameters=[KEY=VALUE,...]]
[--description=DESCRIPTION]
[--gcs-source-staging-dir=GCS_SOURCE_STAGING_DIR]
[--ignore-file=IGNORE_FILE] [--labels=[KEY=VALUE,...]]
[--skaffold-version=SKAFFOLD_VERSION] [--to-target=TO_TARGET]
@ -113,6 +114,17 @@ FLAGS
$ gcloud deploy releases create \
--annotations="from_target=test,status=stable"
--deploy-parameters=[KEY=VALUE,...]
Deployment parameters to apply to the release. Deployment parameters
take the form of key/value string pairs.
Examples:
Add deployment parameters:
$ gcloud deploy releases create \
--deploy-parameters="key1=value1,key2=value2"
--description=DESCRIPTION
Description of the release.

View file

@ -0,0 +1,90 @@
NAME
gcloud deploy rollouts advance - advances a rollout
SYNOPSIS
gcloud deploy rollouts advance
(ROLLOUT : --delivery-pipeline=DELIVERY_PIPELINE
--region=REGION --release=RELEASE) [--phase-id=PHASE_ID]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Advances a rollout.
EXAMPLES
To advance a rollout test-rollout to phase test-phase for delivery pipeline
test-pipeline, release test-release in region us-central1, run:
$ gcloud deploy rollouts advance test-rollout \
--phase-id=test-phase --delivery-pipeline=test-pipeline \
--release=test-release --region=us-central1
POSITIONAL ARGUMENTS
Rollout resource - The name of the Rollout. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument rollout on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
ROLLOUT
ID of the rollout or fully qualified identifier for the rollout.
To set the rollout attribute:
▸ provide the argument rollout on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--delivery-pipeline=DELIVERY_PIPELINE
The delivery pipeline associated with the rollout. Alternatively, set
the property [deploy/delivery-pipeline].
To set the delivery-pipeline attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --delivery-pipeline on the command line;
▸ set the property deploy/delivery_pipeline.
--region=REGION
The Cloud region for the rollout. Alternatively, set the property
[deploy/region].
To set the region attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property deploy/region.
--release=RELEASE
The release associated with the rollout.
To set the release attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --release on the command line.
FLAGS
--phase-id=PHASE_ID
Phase ID on a rollout resource
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha deploy rollouts advance
$ gcloud beta deploy rollouts advance

View file

@ -0,0 +1,85 @@
NAME
gcloud deploy rollouts cancel - cancel a Rollout
SYNOPSIS
gcloud deploy rollouts cancel
(ROLLOUT : --delivery-pipeline=DELIVERY_PIPELINE
--region=REGION --release=RELEASE) [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Cancel a Rollout.
EXAMPLES
To cancel a rollout test-rollout for delivery pipeline test-pipeline,
release test-release in region us-central1, run:
$ gcloud deploy rollouts cancel test-rollout \
--delivery-pipeline=test-pipeline --release=test-release \
--region=us-central1
POSITIONAL ARGUMENTS
Rollout resource - The name of the Rollout. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument rollout on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
ROLLOUT
ID of the rollout or fully qualified identifier for the rollout.
To set the rollout attribute:
▸ provide the argument rollout on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--delivery-pipeline=DELIVERY_PIPELINE
The delivery pipeline associated with the rollout. Alternatively, set
the property [deploy/delivery-pipeline].
To set the delivery-pipeline attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --delivery-pipeline on the command line;
▸ set the property deploy/delivery_pipeline.
--region=REGION
The Cloud region for the rollout. Alternatively, set the property
[deploy/region].
To set the region attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property deploy/region.
--release=RELEASE
The release associated with the rollout.
To set the release attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --release on the command line.
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha deploy rollouts cancel
$ gcloud beta deploy rollouts cancel

View file

@ -16,12 +16,21 @@ GCLOUD WIDE FLAGS
COMMANDS
COMMAND is one of the following:
advance
Advances a rollout.
approve
Approves a rollout having an Approval state of "Required".
cancel
Cancel a Rollout.
describe
Show details for a rollout.
ignore-job
Ignores a specified job and phase combination on a rollout.
list
List the rollouts.

View file

@ -0,0 +1,95 @@
NAME
gcloud deploy rollouts ignore-job - ignores a specified job and phase
combination on a rollout
SYNOPSIS
gcloud deploy rollouts ignore-job
(ROLLOUT : --delivery-pipeline=DELIVERY_PIPELINE
--region=REGION --release=RELEASE) --job-id=JOB_ID
--phase-id=PHASE_ID [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Ignores a specified job and phase combination on a rollout.
EXAMPLES
To ignore a job test-job in phase test-phase on a rollout test-rollout for
delivery pipeline test-pipeline, release test-release in region
us-central1, run:
$ gcloud deploy rollouts ignore-job test-rollout --job-id=test-job \
--phase-id=test-phase --delivery-pipeline=test-pipeline \
--release=test-release --region=us-central1
POSITIONAL ARGUMENTS
Rollout resource - The name of the Rollout. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some
attributes are not given arguments in this group but can be set in other
ways.
To set the project attribute:
◆ provide the argument rollout on the command line with a fully
specified name;
◆ provide the argument --project on the command line;
◆ set the property core/project.
This must be specified.
ROLLOUT
ID of the rollout or fully qualified identifier for the rollout.
To set the rollout attribute:
▸ provide the argument rollout on the command line.
This positional argument must be specified if any of the other
arguments in this group are specified.
--delivery-pipeline=DELIVERY_PIPELINE
The delivery pipeline associated with the rollout. Alternatively, set
the property [deploy/delivery-pipeline].
To set the delivery-pipeline attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --delivery-pipeline on the command line;
▸ set the property deploy/delivery_pipeline.
--region=REGION
The Cloud region for the rollout. Alternatively, set the property
[deploy/region].
To set the region attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --region on the command line;
▸ set the property deploy/region.
--release=RELEASE
The release associated with the rollout.
To set the release attribute:
▸ provide the argument rollout on the command line with a fully
specified name;
▸ provide the argument --release on the command line.
REQUIRED FLAGS
--job-id=JOB_ID
Job ID on a rollout resource
--phase-id=PHASE_ID
Phase ID on a rollout resource
GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account,
--billing-project, --configuration, --flags-file, --flatten, --format,
--help, --impersonate-service-account, --log-http, --project, --quiet,
--trace-token, --user-output-enabled, --verbosity.
Run $ gcloud help for details.
NOTES
These variants are also available:
$ gcloud alpha deploy rollouts ignore-job
$ gcloud beta deploy rollouts ignore-job