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

[release-1.7] 🐛 Verify that there is a release for the tag #10423

Commits on Apr 11, 2024

  1. fix: verify that there is a release for the tag

    Now we attempt to retrieve provider release data first via the
    go-proxy client. In case of failure, we would resort to direct polling
    from GitHub. However, the go-proxy client only lists existing git
    tags and does not return detailed information about github releases.
    This behavior leads to a failure in clustercl if there's no release
    for the latest tag.
    
    To address this, we try to get a release for the tag first, and return
    the highest version with a corresponding release.
    
    For the sake of performance we do only 5 attempts to find a release,
    and return an error after that.
    Fedosin authored and k8s-infra-cherrypick-robot committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    3310dd4 View commit details
    Browse the repository at this point in the history