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

Versioning Resources #918

Closed
wants to merge 1 commit into from
Closed

Versioning Resources #918

wants to merge 1 commit into from

Commits on Jan 31, 2022

  1. Versioning Resources

    Today, we don't always bump versions of resources when updating them.
    The guideline has been to bump versions only when behavior changes,
    but it's hard to figure out when the behavior has changed (a change
    that could be trivial to one user could be meaningful to another).
    
    Not bumping resource versions when changing them causes issues where
    the resource definition becomes dependent on the time when it was applied
     by the user - which causes unexpected failures as described in
    tektoncd#784.
    
    This issue also came up as an issue where users cannot depend on the
    Step indices because they can change:
    tektoncd/community#572 (review).
    
    In TEP-0003, we already proposed that a policy for versioning of resources:
    https://github.com/tektoncd/community/blob/main/teps/0003-tekton-catalog-organization.md#versioning-resources
    
    In Catalog Working Group on 01/13/2022, we revisited that policy and:
    - agreed to follow the versioning policy
    - make it easier to bump resources (see tektoncd/plumbing#994)
    
    This change documents the versioning policy in the contributions guide.
    
    Fixes tektoncd#784
    jerop committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    61c5e39 View commit details
    Browse the repository at this point in the history