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

Set OpenShift 4.11 as the default install version #3036

Merged
merged 4 commits into from
Jul 18, 2023

Conversation

hawkowl
Copy link
Collaborator

@hawkowl hawkowl commented Jul 17, 2023

Which issue this PR addresses:

Fixes https://issues.redhat.com/browse/ARO-3675

What this PR does / why we need it:

Changes the default install version to 4.11, updates the PR E2E to do so, and doesn't error on the discoverycache being generated in 4.10.

Test plan for issue:

E2E

Is there any documentation that needs to be updated for this PR?

Don't think so?

@hawkowl hawkowl added the next-release To be included in the next RP release rollout label Jul 17, 2023
Copy link
Contributor

@jhoreman jhoreman left a comment

Choose a reason for hiding this comment

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

Seems straightforward and E2E passed on PR.

@petrkotas petrkotas merged commit 81df3a2 into Azure:master Jul 18, 2023
18 checks passed
Comment on lines +28 to +40
// DefaultMinorVersion describes the minor OpenShift version to default to
var DefaultMinorVersion = 11

// DefaultInstallStreams describes the latest version of our supported streams
var DefaultInstallStreams = map[int]*Stream{
10: {
Version: NewVersion(4, 10, 63),
PullSpec: "quay.io/openshift-release-dev/ocp-release@sha256:340091aefa0bba06bbb99cc58cb1f2b73404c832f72b83c526b8e7677efbecef",
},
11: {
Version: NewVersion(4, 11, 44),
PullSpec: "quay.io/openshift-release-dev/ocp-release@sha256:52cbfbbeb9cc03b49c2788ac7333e63d3dae14673e01a9d8e59270f3a8390ed3",
},
Copy link
Collaborator

@bennerv bennerv Jul 18, 2023

Choose a reason for hiding this comment

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

I know this is already merged, but why add the 4.10 stuff to a DefaultInstallStreams struct if we're not setting 4.10 as a default anymore?

We can't pass in "4.10" as an install version and it picks the version above.

This block of code might confuse other team members (it confused me)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bennerv I've done it like this because the discoverycache right now is 4.10 and so I want what the default install stream for 4.10 used to be. Maybe it doesn't make as much sense because you can't ask for "4.10" and get anything. (should we have that, maybe?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next-release To be included in the next RP release rollout next-up ready-for-review skippy pull requests raised by member of Team Skippy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants