build: bump OCP_VERSION to 4.12#3458
Conversation
|
should we add bumping this to an SOP? |
|
I'd vote for just stopping pinning and always pulling the latest stable version? https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz is an unversioned link. Also relatedly, I just noticed that we're doing this on all arches, but we're always downloading the x86_64 one. Not all arches are available on the mirrors so we should probably gate the fetching logic to only x86_64. |
I think that makes sense especially for latest COSA/FCOS/RHCOS devel, but when we branch COSA maybe it makes sense to freeze on one? Do we know what this is really used for in the pipeline(s) today?
+1 |
It was initially added for testing the layering stuff in Prow (#2777), but I'm not sure if that test still exists today (the bit it linked to is no longer there). This script uses it, but I don't see anything on the openshift/release side calling that script. On the pipeline side, we use it for a single |
I took a new look at this. I think we are downloading it for the arches correctly given we are calling Line 106 in d80b183 |
Ahh nice, missed that. I was confused by the fact that the final directory containing the artifacts (e.g. this one) nonetheless appears to have e.g. both x86_64 and aarch64 versions, but not the others. Likely for historical reasons? |
yeah not sure. |
jlebon
left a comment
There was a problem hiding this comment.
Good with this too if we want to defer the unpinning to a follow-up.
i'll unpin here will get back to it soon. |
ad44d7e to
ac02846
Compare
|
updated |
If we need to pin in the future we can just set the $OCP_VERSION variable again.
ac02846 to
f2d54af
Compare
4.10 is a bit old at this point.