Skip to content

Validate git-provider-url annotation #379

@ralphbean

Description

@ralphbean

I ran into a case in the Fedora cluster where a user entered gitlab.com for their git-provider-url. Build-service processed this without a problem and passed it on to the PaC Repository. PaC accepted it no problem, but when it tried to operate on an incoming webhook, it failed hard because the url was missing its https:// prefix.

This is a request for build-service to start validating that annotation. If it doesn't conform to a url schema, the Component should be rejected from submission.

Related issue for PaC filed at tektoncd/pipelines-as-code#1852

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions