Overview
The Repository resource is namespaced and can be referenced using the short namerepo.
Resource Structure
API version for the Repository resource. Must be
pipelinesascode.tekton.dev/v1alpha1.Resource kind. Must be
Repository.Standard Kubernetes metadata including name, namespace, labels, and annotations.
Specification of the desired behavior of the repository. See Repository Spec for detailed field documentation.
Status information for pipeline runs executed for this repository. See Repository Status for detailed field documentation.
Resource Shortcuts
The Repository CRD supports the following shortname:repo- Short form forrepository
Custom Columns
When listing repositories withkubectl get repo, the following columns are displayed:
- URL - The Git repository URL
- Succeeded - Success status of the last PipelineRun
- Reason - Reason for the last PipelineRun status
- StartTime - When the last PipelineRun started
- CompletionTime - When the last PipelineRun completed
Complete Example
Related Resources
- Repository Spec - Detailed specification fields
- Repository Status - Status field reference
- Settings Reference - Settings configuration options