- NAME
-
- gcloud alpha container hub packages resource-bundles releases create - create Package Rollouts Release
- SYNOPSIS
-
-
gcloud alpha container hub packages resource-bundles releases create
--resource-bundle
=RESOURCE_BUNDLE
--source
=SOURCE
--version
=VERSION
[--lifecycle
=LIFECYCLE
] [--location
=LOCATION
] [--variants-pattern
=VARIANTS_PATTERN
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
Create Package Rollouts Release. - EXAMPLES
-
To create Release
v1.0.0
for Resource Bundlemy-bundle
inus-central1
, run:gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=manifest.yaml
To create a Release with multiple variants in one directory, run:
gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=manifest-*.yaml
To create a Release with multiple variants across multiple directories, ex:
gcloud alpha container hub packages resource-bundles releases create --version=v1.0.0 --resource-bundle=my-bundle --source=/manifests/ --variants-pattern=dir-*/
- REQUIRED FLAGS
-
--resource-bundle
=RESOURCE_BUNDLE
- Resource Bundle name.
--source
=SOURCE
-
Source file or directory to create 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
--version
=VERSION
- Version of the Release to create.
- OPTIONAL FLAGS
-
--lifecycle
=LIFECYCLE
- Lifecycle of the Release.
--location
=LOCATION
- Google Cloud zone or region.
--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.