spec field defines the desired state of a Repository, including its URL, Git provider configuration, and operational settings.
Fields
URL of the repository. Must be a valid HTTP/HTTPS Git repository URL that Pipelines as Code will use to clone and fetch pipeline definitions from.
Maximum number of concurrent PipelineRuns that can run for this repository. This helps prevent resource exhaustion when many events trigger pipelines simultaneously.Minimum value: 1
Git provider details specific to configuration. Contains authentication, API endpoints, and provider type information needed to interact with the Git service.
Incoming webhook configurations. Each configuration specifies how to handle external webhook requests that don’t come directly from the primary Git provider.
Repository level parameters that can be referenced in PipelineRuns. These parameters can be used as default values or configured for specific events.
Configuration settings for the repository, including authorization policies, provider-specific configuration, and provenance settings. See Settings Reference for detailed documentation.