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

Sets version image to use vMajor.Minor b/c we don't match all .Patch releases #486

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

timothysc
Copy link
Contributor

What this PR does / why we need it:
Bug fix on run b/c we don't release *.patch versions

Special notes for your reviewer:
See heptio/kube-conformance#25

Release note:

None

/assign @chuckha @liztio

…eased version tags.

Signed-off-by: Timothy St. Clair <timothysc@gmail.com>
Copy link
Contributor

@chuckha chuckha left a comment

Choose a reason for hiding this comment

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

lgtm assuming you ran the command and generated yaml that looks good to you

// NOTE: Until the kube-conformance container is pushed upstream we can't
// guarantee alignment with exact versioning see https://github.com/heptio/kube-conformance/issues/25
// for more details
return fmt.Sprintf("v%s.%s", version.Major, version.Minor), nil
}
return string(*c), nil
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to constrain validateVersion to minor releases too? Or is that fine as is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was fine for validation so I didn't change it. Ideally I'd like to move the code back to your original PR in the future if we can push upstream to publish the testing container per release.

Copy link
Contributor

@liztio liztio left a comment

Choose a reason for hiding this comment

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

lgtm, thanks for doing this 👍

@timothysc timothysc merged commit b1d3b9a into vmware-tanzu:master Jul 13, 2018
@timh timh unassigned liztio Sep 30, 2019
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

Successfully merging this pull request may close these issues.

3 participants