-
Notifications
You must be signed in to change notification settings - Fork 34
test/e2e: always use correct release pull spec in RELEASE_IMAGE_LATEST #188
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -135,9 +135,7 @@ test_kernel_version() { | |||||
|
|
||||||
| # Check that driver-toolkit contains the right kernel-rt version | ||||||
| test_kernel_rt_version() { | ||||||
| ocp_version=$(oc get clusterversion -o json | jq -r '.items[0].status.desired.version') | ||||||
|
|
||||||
| rhel_coreos_extensions_image=$(oc adm release info registry.ci.openshift.org/ocp/release:${ocp_version} \ | ||||||
| rhel_coreos_extensions_image=$(oc adm release info "${RELEASE_IMAGE_LATEST}" \ | ||||||
| --registry-config "${CLUSTER_PROFILE_DIR}/pull-secret" \ | ||||||
| --image-for=rhel-coreos-extensions) | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Is probably what would work as a quick hack on 5.0. Still a hack but a bit more complete would be to check both Still that's naive and will need to be updated, we don't want to accept a payload that's got rhel9 content aligned but rhel10 ouf of sync.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. main will forward to 5.0 and 4.23 until those branch, so the code probably has to handle both. perhaps there is / could be another env var to provide the coreos major version.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both 5.0 and 4.23 will have at least |
||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note that for 5.0 the repo is
release-5There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets use the actual image, AFAIK this should always be populated.