1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 23:49:35 +00:00
gcloud-help/gcloud/alpha/builds/enterprise-config/gitlab/create
2022-05-04 09:15:29 +00:00

77 lines
3.2 KiB
Text

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.