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

Correct version comparisons to ensure proper fact evaluation #4645

Merged
merged 1 commit into from
Jun 30, 2017

Conversation

mtnbikenc
Copy link
Member

@mtnbikenc mtnbikenc commented Jun 29, 2017

When a user supplies the openshift_image_tag inventory fact as '3.5',
the evaluation of version >= LooseVersion('3.5.0') will return False.
Changing the evaluation against only the X.X release will properly
return True.

Bug https://bugzilla.redhat.com/show_bug.cgi?id=1466762

When a user supplies the openshift_image_tag inventory fact as '3.5',
the evaluation of `version >= LooseVersion('3.5.0')` will return False.
Changing the evaluation against only the X.X release will properly
return True.
Copy link
Member

@abutcher abutcher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mtnbikenc
Copy link
Member Author

aos-ci-test

@mtnbikenc
Copy link
Member Author

[test]

@openshift-bot
Copy link

success: "aos-ci-jenkins/OS_3.5_NOT_containerized, aos-ci-jenkins/OS_3.5_NOT_containerized_e2e_tests" for 6d4c84b (logs)

@openshift-bot
Copy link

success: "aos-ci-jenkins/OS_3.6_NOT_containerized, aos-ci-jenkins/OS_3.6_NOT_containerized_e2e_tests" for 6d4c84b (logs)

@openshift-bot
Copy link

success: "aos-ci-jenkins/OS_3.6_containerized, aos-ci-jenkins/OS_3.6_containerized_e2e_tests" for 6d4c84b (logs)

@openshift-bot
Copy link

success: "aos-ci-jenkins/OS_3.5_containerized, aos-ci-jenkins/OS_3.5_containerized_e2e_tests" for 6d4c84b (logs)

@mtnbikenc
Copy link
Member Author

Flake openshift/origin#13067 oc new-app [It] should succeed with a --name of 58 characters
[test]

@openshift-bot
Copy link

Evaluated for openshift ansible test up to 6d4c84b

@openshift-bot
Copy link

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_openshift_ansible/304/) (Base Commit: 2c03eec) (PR Branch Commit: 6d4c84b)

@sdodson sdodson merged commit b6628f9 into openshift:master Jun 30, 2017
@mtnbikenc mtnbikenc deleted the fix-version-check branch June 30, 2017 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants