Skip to content

Commit

Permalink
Improve docs for Cloud Build (#118)
Browse files Browse the repository at this point in the history
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
  • Loading branch information
modular-magician authored and rileykarson committed Mar 1, 2019
1 parent a7b11d4 commit 0c000e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/resources/google_cloudbuild_trigger.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Properties that can be accessed from the `google_cloudbuild_trigger` resource:

* `substitutions`: Substitutions data for Build resource.

* `filename`: Path, from the source root, to a file whose contents is used for the template.
* `filename`: Path, from the source root, to a file whose contents is used for the template. Either a filename or build template must be provided.

* `ignored_files`: ignoredFiles and includedFiles are file glob matches using http://godoc/pkg/path/filepath#Match extended with support for `**`. If ignoredFiles and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignoredFiles is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignoredFiles globs, then we do not trigger a build.

Expand All @@ -49,13 +49,13 @@ Properties that can be accessed from the `google_cloudbuild_trigger` resource:

* `dir`: Directory, relative to the source root, in which to run the build. This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution.

* `branchName`: Name of the branch to build.
* `branchName`: Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.

* `tagName`: Name of the tag to build.
* `tagName`: Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.

* `commitSha`: Explicit commit SHA to build.
* `commitSha`: Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.

* `build`: Contents of the build template.
* `build`: Contents of the build template. Either a filename or build template must be provided.

* `tags`: Tags for annotation of a Build. These are not docker tags.

Expand Down

0 comments on commit 0c000e9

Please sign in to comment.