mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-22 07:40:10 +00:00
gcloud: Wed May 4 09:15:29 UTC 2022
This commit is contained in:
parent
532fac5ddb
commit
5e0446371a
160 changed files with 5232 additions and 171 deletions
77
gcloud/alpha/builds/enterprise-config/gitlab/create
Normal file
77
gcloud/alpha/builds/enterprise-config/gitlab/create
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
NAME
|
||||
gcloud alpha builds enterprise-config gitlab create - create a GitLab
|
||||
Enterprise config for use by Google Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha builds enterprise-config gitlab create
|
||||
--api-access-token-secret-version=API_ACCESS_TOKEN_SECRET_VERSION
|
||||
--api-key-secret-version=API_KEY_SECRET_VERSION --host-uri=HOST_URI
|
||||
--name=NAME
|
||||
--read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION
|
||||
--region=REGION --user-name=USER_NAME
|
||||
--webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION
|
||||
[--service-directory-service=SERVICE_DIRECTORY_SERVICE]
|
||||
[--ssl-ca-file=SSL_CA_FILE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a GitLab Enterprise config for use by Google Cloud Build.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--api-access-token-secret-version=API_ACCESS_TOKEN_SECRET_VERSION
|
||||
Secret Manager resource containing the API access token. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--api-key-secret-version=API_KEY_SECRET_VERSION
|
||||
Secret Manager resource containing the Cloud Build API key that should
|
||||
be associated with this config. The secret is specified in resource URL
|
||||
format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--host-uri=HOST_URI
|
||||
The host uri of the GitLab Enterprise instance.
|
||||
|
||||
--name=NAME
|
||||
The name of the GitLab config.
|
||||
|
||||
--read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION
|
||||
Secret Manager resource containing the read access token. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--region=REGION
|
||||
The Cloud location of the GitLab config.
|
||||
|
||||
--user-name=USER_NAME
|
||||
The GitLab user name that should be associated with this config.
|
||||
|
||||
--webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION
|
||||
Secret Manager resource containing the webhook secret. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--service-directory-service=SERVICE_DIRECTORY_SERVICE
|
||||
Service Directory service that should be used when making calls to the
|
||||
GitLab Enterprise instance.
|
||||
|
||||
If not specified, calls will be made over the public internet.
|
||||
|
||||
--ssl-ca-file=SSL_CA_FILE
|
||||
Path to a local file that contains SSL certificate to use for requests
|
||||
to GitLab Enterprise. The certificate should be in PEM format.
|
||||
|
||||
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.
|
||||
|
||||
|
|
@ -3,15 +3,38 @@ NAME
|
|||
Enterprise config from Google Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha builds enterprise-config gitlab delete CONFIG
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha builds enterprise-config gitlab delete
|
||||
(CONFIG : --region=REGION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Delete a GitLab Enterprise config from Google Cloud Build.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CONFIG
|
||||
The id of the GitLab Enterprise config
|
||||
GitLabConfig resource - GitLab Enterprise config. 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 CONFIG 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.
|
||||
|
||||
CONFIG
|
||||
ID of the gitLabConfig or fully qualified identifier for the
|
||||
gitLabConfig. To set the config attribute:
|
||||
▸ provide the argument CONFIG on the command line.
|
||||
|
||||
This positional must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud location for the gitLabConfig. To set the region attribute:
|
||||
▸ provide the argument CONFIG on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property builds/region.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -3,15 +3,38 @@ NAME
|
|||
Enterprise config in a Google Cloud project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha builds enterprise-config gitlab describe CONFIG
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha builds enterprise-config gitlab describe
|
||||
(CONFIG : --region=REGION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Describe a GitLab Enterprise config in a Google Cloud project.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
CONFIG
|
||||
The id of the GitLab Enterprise Config
|
||||
GitLabConfig resource - GitLab Enterprise config. 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 CONFIG 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.
|
||||
|
||||
CONFIG
|
||||
ID of the gitLabConfig or fully qualified identifier for the
|
||||
gitLabConfig. To set the config attribute:
|
||||
▸ provide the argument CONFIG on the command line.
|
||||
|
||||
This positional must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud location for the gitLabConfig. To set the region attribute:
|
||||
▸ provide the argument CONFIG on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property builds/region.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -16,6 +16,10 @@ GCLOUD WIDE FLAGS
|
|||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
(ALPHA) Create a GitLab Enterprise config for use by Google Cloud
|
||||
Build.
|
||||
|
||||
delete
|
||||
(ALPHA) Delete a GitLab Enterprise config from Google Cloud Build.
|
||||
|
||||
|
|
@ -25,6 +29,10 @@ COMMANDS
|
|||
list
|
||||
(ALPHA) List all GitLab Enterprise configs in a Google Cloud project.
|
||||
|
||||
update
|
||||
(ALPHA) Update a GitLab Enterprise config for use by Google Cloud
|
||||
Build.
|
||||
|
||||
NOTES
|
||||
This command is currently in alpha and might change without notice. If this
|
||||
command fails with API permission errors despite specifying the correct
|
||||
|
|
|
|||
|
|
@ -3,13 +3,29 @@ NAME
|
|||
Enterprise configs in a Google Cloud project
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha builds enterprise-config gitlab list [--filter=EXPRESSION]
|
||||
[--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud alpha builds enterprise-config gitlab list [--region=REGION]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) List all GitLab Enterprise configs in a Google Cloud project.
|
||||
|
||||
FLAGS
|
||||
Region resource - Region for Cloud Build. This represents a Cloud
|
||||
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 --region on the command line with a fully
|
||||
specified name;
|
||||
◆ set the property builds/region with a fully specified name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
--region=REGION
|
||||
ID of the region or fully qualified identifier for the region. To set
|
||||
the region attribute:
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property builds/region.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
Apply a Boolean filter EXPRESSION to each resource item to be listed.
|
||||
|
|
|
|||
97
gcloud/alpha/builds/enterprise-config/gitlab/update
Normal file
97
gcloud/alpha/builds/enterprise-config/gitlab/update
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
NAME
|
||||
gcloud alpha builds enterprise-config gitlab update - update a GitLab
|
||||
Enterprise config for use by Google Cloud Build
|
||||
|
||||
SYNOPSIS
|
||||
gcloud alpha builds enterprise-config gitlab update
|
||||
(CONFIG : --region=REGION)
|
||||
[--api-access-token-secret-version=API_ACCESS_TOKEN_SECRET_VERSION]
|
||||
[--api-key-secret-version=API_KEY_SECRET_VERSION] [--host-uri=HOST_URI]
|
||||
[--read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION]
|
||||
[--service-directory-service=SERVICE_DIRECTORY_SERVICE]
|
||||
[--ssl-ca-file=SSL_CA_FILE] [--user-name=USER_NAME]
|
||||
[--webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Update a GitLab Enterprise config for use by Google Cloud Build.
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
GitLabConfig resource - GitLab Enterprise config. 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 CONFIG 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.
|
||||
|
||||
CONFIG
|
||||
ID of the gitLabConfig or fully qualified identifier for the
|
||||
gitLabConfig. To set the config attribute:
|
||||
▸ provide the argument CONFIG on the command line.
|
||||
|
||||
This positional must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--region=REGION
|
||||
The Cloud location for the gitLabConfig. To set the region attribute:
|
||||
▸ provide the argument CONFIG on the command line with a fully
|
||||
specified name;
|
||||
▸ provide the argument --region on the command line;
|
||||
▸ set the property builds/region.
|
||||
|
||||
FLAGS
|
||||
--api-access-token-secret-version=API_ACCESS_TOKEN_SECRET_VERSION
|
||||
Secret Manager resource containing the API access token. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--api-key-secret-version=API_KEY_SECRET_VERSION
|
||||
Secret Manager resource containing the Cloud Build API key that should
|
||||
be associated with this config. The secret is specified in resource URL
|
||||
format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--host-uri=HOST_URI
|
||||
The host uri of the GitLab Enterprise instance.
|
||||
|
||||
--read-access-token-secret-version=READ_ACCESS_TOKEN_SECRET_VERSION
|
||||
Secret Manager resource containing the read access token. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
--service-directory-service=SERVICE_DIRECTORY_SERVICE
|
||||
Service Directory service that should be used when making calls to the
|
||||
GitLab Enterprise instance.
|
||||
|
||||
If not specified, calls will be made over the public internet.
|
||||
|
||||
--ssl-ca-file=SSL_CA_FILE
|
||||
Path to a local file that contains SSL certificate to use for requests
|
||||
to GitLab Enterprise. The certificate should be in PEM format.
|
||||
|
||||
--user-name=USER_NAME
|
||||
The GitLab user name that should be associated with this config.
|
||||
|
||||
--webhook-secret-secret-version=WEBHOOK_SECRET_SECRET_VERSION
|
||||
Secret Manager resource containing the webhook secret. The secret is
|
||||
specified in resource URL format
|
||||
projects/{secret_project}/secrets/{secret_name}/versions/{secret_version}.
|
||||
|
||||
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.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue