Skip to content

Conversation

@stbenjam
Copy link
Member

@stbenjam stbenjam commented Aug 21, 2019

This changes dev-scripts to use oc adm release extract, which produces
an openshift-baremetal-install binary with the release payload set from
which it was extracted. This means we no longer need to set
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE.

@stbenjam
Copy link
Member Author

One of the next nightlies should have an updated oc we can use. Once that happens we should be able to test this.

@markmc
Copy link
Contributor

markmc commented Aug 21, 2019

Looks great

@stbenjam stbenjam force-pushed the oc branch 5 times, most recently from 0061450 to 3acad7c Compare August 21, 2019 20:06
@stbenjam stbenjam added the CI check this PR with CI label Aug 21, 2019
@metal3ci
Copy link

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1082/

@stbenjam stbenjam changed the title [WIP] Extract installer using oc adm release extract Extract installer using oc adm release extract Aug 26, 2019
@stbenjam stbenjam force-pushed the oc branch 2 times, most recently from 4cfe760 to 32f0f66 Compare August 26, 2019 12:27
@metal3ci
Copy link

Build FAILURE, see build http://10.8.144.11:8080/job/dev-tools/1096/

This changes dev-scripts to use oc adm release extract, which produces
an openshift-baremetal-install binary with the release payload set from
which it was extracted. This means we no longer need to set
OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE.
@metal3ci
Copy link

Build SUCCESS, see build http://10.8.144.11:8080/job/dev-tools/1097/

@stbenjam
Copy link
Member Author

Updated and CI is passing. Ready for another review.

@russellb russellb merged commit acd1f4f into openshift-metal3:master Aug 26, 2019
@stbenjam stbenjam deleted the oc branch August 26, 2019 15:44
hardys pushed a commit to hardys/dev-scripts that referenced this pull request Aug 28, 2019
This was removed in openshift-metal3#758 but it turns out the default origin builds
still contain old ironic images, ref discussion on
openshift/ironic-inspector-image#17

It also seems sane to ensure the release image set in dev-scripts is
the same as the installer, which currently is not the case, we're
defaulting to ocp builds and the installer to origin.

Closes: openshift-metal3#775
hardys pushed a commit to hardys/dev-scripts that referenced this pull request Aug 28, 2019
This was removed in openshift-metal3#758 but it turns out the default origin builds
still contain old ironic images, ref discussion on
openshift/ironic-inspector-image#17

This means we need to set the installer release image override in the
case where export KNI_INSTALL_FROM_GIT=true, or we'll get the default
from the openshift/installer source, and that currently won't work.

Closes: openshift-metal3#775
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI check this PR with CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants