mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-07-01 08:38:06 +00:00
2.3 KiB
2.3 KiB
page_title | subcategory | description |
---|---|---|
woodpecker_repository Data Source - terraform-provider-woodpecker | Use this data source to retrieve information about a repository. |
woodpecker_repository (Data Source)
Use this data source to retrieve information about a repository.
Example Usage
data "woodpecker_repository" "test_repo" {
full_name = "Kichiyaki/test-repo"
}
Schema
Required
full_name
(String) the full name of the repository (format: owner/reponame)
Read-Only
allow_pull_requests
(Boolean) Enables handling webhook's pull request event. If disabled, then pipeline won't run for pull requests.avatar_url
(String) the repository's avatar URLclone_url
(String) the URL to clone repositoryconfig_file
(String) The path to the pipeline config file or folder. By default it is left empty which will use the following configuration resolution .woodpecker/.yml -> .woodpecker/.yaml -> .woodpecker.yml -> .woodpecker.yaml.default_branch
(String) the name of the default branchforge_remote_id
(String) the unique identifier for the repository on the forgeid
(Number) the repository's idis_gated
(Boolean) when true, every pipeline needs to be approved before being executedis_private
(Boolean) whether the repo (SCM) is privateis_trusted
(Boolean) when true, underlying pipeline containers get access to escalated capabilities like mounting volumesname
(String) the name of the repositorynetrc_only_trusted
(Boolean) whether netrc credentials should be only injected into trusted containers, see the docs for more infoowner
(String) the owner of the repositoryscm
(String) type of repository (see the source code)timeout
(Number) after this timeout a pipeline has to finish or will be treated as timed out (in minutes)url
(String) the URL of the repository on the forgevisibility
(String) project visibility (public, private, internal), see the docs for more info