mirror of
https://github.com/ansible-collections/google.cloud.git
synced 2025-04-06 10:50:28 -07:00
Improve docs for Cloud Build (#197)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
This commit is contained in:
parent
ebd14d6e56
commit
9a7c4cfc8c
2 changed files with 26 additions and 12 deletions
|
@ -67,6 +67,7 @@ options:
|
|||
filename:
|
||||
description:
|
||||
- Path, from the source root, to a file whose contents is used for the template.
|
||||
Either a filename or build template must be provided.
|
||||
required: false
|
||||
ignored_files:
|
||||
description:
|
||||
|
@ -114,19 +115,23 @@ options:
|
|||
required: false
|
||||
branch_name:
|
||||
description:
|
||||
- Name of the branch to build.
|
||||
- Name of the branch to build. Exactly one a of branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
required: false
|
||||
tag_name:
|
||||
description:
|
||||
- Name of the tag to build.
|
||||
- Name of the tag to build. Exactly one of a branch name, tag, or commit SHA
|
||||
must be provided.
|
||||
required: false
|
||||
commit_sha:
|
||||
description:
|
||||
- Explicit commit SHA to build.
|
||||
- Explicit commit SHA to build. Exactly one of a branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
required: false
|
||||
build:
|
||||
description:
|
||||
- Contents of the build template.
|
||||
- Contents of the build template. Either a filename or build template must be
|
||||
provided.
|
||||
required: false
|
||||
suboptions:
|
||||
tags:
|
||||
|
@ -233,6 +238,7 @@ substitutions:
|
|||
filename:
|
||||
description:
|
||||
- Path, from the source root, to a file whose contents is used for the template.
|
||||
Either a filename or build template must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
ignoredFiles:
|
||||
|
@ -285,22 +291,25 @@ triggerTemplate:
|
|||
type: str
|
||||
branchName:
|
||||
description:
|
||||
- Name of the branch to build.
|
||||
- Name of the branch to build. Exactly one a of branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
tagName:
|
||||
description:
|
||||
- Name of the tag to build.
|
||||
- Name of the tag to build. Exactly one of a branch name, tag, or commit SHA
|
||||
must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
commitSha:
|
||||
description:
|
||||
- Explicit commit SHA to build.
|
||||
- Explicit commit SHA to build. Exactly one of a branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
build:
|
||||
description:
|
||||
- Contents of the build template.
|
||||
- Contents of the build template. Either a filename or build template must be provided.
|
||||
returned: success
|
||||
type: complex
|
||||
contains:
|
||||
|
|
|
@ -87,6 +87,7 @@ items:
|
|||
filename:
|
||||
description:
|
||||
- Path, from the source root, to a file whose contents is used for the template.
|
||||
Either a filename or build template must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
ignoredFiles:
|
||||
|
@ -142,22 +143,26 @@ items:
|
|||
type: str
|
||||
branchName:
|
||||
description:
|
||||
- Name of the branch to build.
|
||||
- Name of the branch to build. Exactly one a of branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
tagName:
|
||||
description:
|
||||
- Name of the tag to build.
|
||||
- Name of the tag to build. Exactly one of a branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
commitSha:
|
||||
description:
|
||||
- Explicit commit SHA to build.
|
||||
- Explicit commit SHA to build. Exactly one of a branch name, tag, or commit
|
||||
SHA must be provided.
|
||||
returned: success
|
||||
type: str
|
||||
build:
|
||||
description:
|
||||
- Contents of the build template.
|
||||
- Contents of the build template. Either a filename or build template must be
|
||||
provided.
|
||||
returned: success
|
||||
type: complex
|
||||
contains:
|
||||
|
|
Loading…
Add table
Reference in a new issue