Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate TaskRun compatibility with the Affinity Assistant #2885

Commits on Jul 27, 2020

  1. Validate TaskRun compatibility with the Affinity Assistant

    A TaskRun that mount more than one PVC-backed workspace is incompatible
    with the Affinity Assistant. But there is no validation if the TaskRun
    is compatible - so the TaskRun Pod is stuck with little information on why
    to the user.
    
    This commit adds validation of TaskRuns. When a TaskRun is associated with
    an Affinity Assistant, it is checked that not more than one PVC workspace
    is used - if so, the TaskRun will fail with a TaskRunValidationFailed condition.
    
    Proposed in tektoncd#2829 (comment)
    Closes tektoncd#2864
    jlpettersson committed Jul 27, 2020
    Configuration menu
    Copy the full SHA
    1cd4d8c View commit details
    Browse the repository at this point in the history