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

Use external library to get the OCP versions range #408

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

mgoerens
Copy link
Contributor

The translation of range of Kubernetes version to range of OCP versions was previsouly inconsistent accross chart-verifier and the certification pipeline. The code that performs this translation has now been externalized to the github.com/opdev/get-ocp-range repository.

See openshift-helm-charts/charts#1032

The translation of range of Kubernetes version to range of OCP versions
was previsouly inconsistent accross chart-verifier and the certification
pipeline. The code that performs this translation has now been
externalized to the github.com/opdev/get-ocp-range repository.

See openshift-helm-charts/charts#1032
@@ -549,51 +549,6 @@ func TestRequiredAnnotationsPresent(t *testing.T) {
}
}

func TestSemVers(t *testing.T) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Any particular reason this test needs to change? Has this test been moved to the replacing library?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are the unit tests for the getOCPRange function, which is removed from this repo with this commit.

The Go library implements unit tests too, see https://github.com/opdev/getocprange/blob/main/get-ocp-range_test.go

Copy link
Contributor

@komish komish left a comment

Choose a reason for hiding this comment

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

/lgtm

@komish komish merged commit f08a985 into redhat-certification:main Oct 17, 2023
5 checks passed
@mgoerens mgoerens deleted the get-ocp-range branch October 18, 2023 07:39
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.

2 participants