- NAME
-
- gcloud alpha container hub packages resource-bundles releases update - update Package Rollouts Release
- SYNOPSIS
-
-
gcloud alpha container hub packages resource-bundles releases update
RELEASE
--resource-bundle
=RESOURCE_BUNDLE
[--lifecycle
=LIFECYCLE
] [--location
=LOCATION
] [--source
=SOURCE
] [--update-mask
=UPDATE_MASK
] [--variants-pattern
=VARIANTS_PATTERN
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Update Package Rollouts Release. - EXAMPLES
-
To update Release
v1.0.0
for Resource Bundlemy-bundle
inus-central1
, run:gcloud alpha container hub packages resource-bundles releases update --version=v1.0.0 --resource-bundle=my-bundle --source=manifest.yaml
To update a Release with multiple variants in one directory, run:
gcloud alpha container hub packages resource-bundles releases update --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=manifest-*.yaml
To update a Release with multiple variants across multiple directories, ex:
gcloud alpha container hub packages resource-bundles releases update --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=dir-*/
- POSITIONAL ARGUMENTS
-
RELEASE
- Release identifier, either a version or tag.
- REQUIRED FLAGS
-
--resource-bundle
=RESOURCE_BUNDLE
- Resource Bundle name.
- OPTIONAL FLAGS
-
--lifecycle
=LIFECYCLE
- Lifecycle of the Release.
--location
=LOCATION
- Google Cloud zone or region.
--source
=SOURCE
-
Source file or directory to update the Release from. e.g.
,--source=manifest.yaml
Can optionally be paired with the--source=/manifests-dir/
arg to create multiple variants of a Release.--variants-pattern
--update-mask
=UPDATE_MASK
- Mask denoting which fields to update.
--variants-pattern
=VARIANTS_PATTERN
-
Glob pattern to Variants of the Release, to be paired with the
arg. ex: --source=/manifests-dir/ --variants-pattern=--source
**
, --source=/manifests-dir/ --variants-pattern=us-*
.yaml, --source=/manifests/dir/ --variants-pattern=*/*
.yaml
- 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
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-06-11 UTC.