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

Should sjb/hack/determine_install_upgrade_version.py ever return an upgrade version that is not the search version? #517

Closed
stevekuznetsov opened this issue Aug 4, 2017 · 3 comments

Comments

@stevekuznetsov
Copy link
Contributor

@jhadvig one of the side-effects of the issues today was that I noticed that sjb/hack/determine_install_upgrade_version.py is returning something other than the input package version for the upgrade target. When does this make sense? I thought we always want to upgrade to the code we just built, right? Maybe I am forgetting something in the history of this script :\

@jhadvig
Copy link
Contributor

jhadvig commented Sep 19, 2017

@stevekuznetsov so the only case that this could occure is that we are building a pre-release upgrade version of the built pkg, cause in that case we are using the latest release version that is available, check https://github.com/openshift/aos-cd-jobs/blob/master/sjb/hack/determine_install_upgrade_version.py#L31-L34
True that we want to upgrade to the version that we just built, but I have a strange feeling that we are missing some other edge case.

@jhadvig
Copy link
Contributor

jhadvig commented Sep 19, 2017

So I think its because of the *_TARGE_BRANCH variables,. If the origin PR is eg. against release-1.5, are we chcking our the matching branch of o-a repo ?

@stevekuznetsov
Copy link
Contributor Author

I don't think we are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants