1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Dec 20 10:06:06 UTC 2023

This commit is contained in:
Automated 2023-12-20 10:06:06 +00:00
parent a990278fb3
commit 94c3362cff
127 changed files with 1438 additions and 194 deletions

View file

@ -6,10 +6,9 @@ SYNOPSIS
gcloud builds triggers create github
(--trigger-config=PATH | [(--branch-pattern=REGEX | --tag-pattern=REGEX
| [--pull-request-pattern=REGEX : --comment-control=COMMENT_CONTROL;
default=CommentControlValueValuesEnum(COMMENTS_ENABLED,
1)]) (--build-config=PATH | --inline-config=PATH
| [--dockerfile=DOCKERFILE : --dockerfile-dir=DOCKERFILE_DIR;
default="/"
default="COMMENTS_ENABLED"]) (--build-config=PATH
| --inline-config=PATH | [--dockerfile=DOCKERFILE
: --dockerfile-dir=DOCKERFILE_DIR; default="/"
--dockerfile-image=DOCKERFILE_IMAGE]) (--repository=REPOSITORY
| [--repo-name=REPO_NAME --repo-owner=REPO_OWNER
: --enterprise-config=ENTERPRISE_CONFIG]) : --description=DESCRIPTION
@ -47,7 +46,7 @@ EXAMPLES
--repository=projects/my-project/locations/us-central1/\
connections/my-conn/repositories/my-repo \
--pull-request-pattern="^master$" \
--build-config="cloudbuild.yaml"
--build-config="cloudbuild.yaml" --region=us-central1
REQUIRED FLAGS
Exactly one of these must be specified:
@ -82,7 +81,8 @@ REQUIRED FLAGS
supported region name (e.g. us-central1). If unset, builds/region,
which is the default region to use when working with Cloud Build
resources, is used. If builds/region is unset, region is set to
global.
global. Note: Region must be specified in 2nd gen repo; global is
not supported.
--[no-]require-approval
Require manual approval for triggered builds. Use
@ -159,7 +159,7 @@ REQUIRED FLAGS
This flag argument must be specified if any of the other
arguments in this group are specified.
--comment-control=COMMENT_CONTROL; default=CommentControlValueValuesEnum(COMMENTS_ENABLED, 1)
--comment-control=COMMENT_CONTROL; default="COMMENTS_ENABLED"
Require a repository collaborator or owner to comment '/gcbrun'
on a pull request before running the build. COMMENT_CONTROL
must be one of: