Skip to content

Conversation

@hardys
Copy link

@hardys hardys commented Nov 30, 2021

This is only needed in rhcos.sh for old versions which lack the
openshift-install coreos-print-stream-json option, and the
file moved in openshift/installer#5252
so we should only copy if the "old" location is detected

This is only needed in rhcos.sh for old versions which lack the
openshift-install coreos-print-stream-json option, and the
file moved in openshift/installer#5252
so we should only copy if the "old" location is detected
@openshift-ci openshift-ci bot requested review from flaper87 and zaneb November 30, 2021 15:56
@zaneb
Copy link
Member

zaneb commented Nov 30, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 30, 2021
# That landed in 4.8, and in 4.10 this file moved, so just
# skip copying it if it's not in the "old" location ref
# https://github.com/openshift/installer/pull/5252
if [ -f "$OPENSHIFT_INSTALL_PATH/data/data/rhcos.json" ]; then
Copy link
Member

Choose a reason for hiding this comment

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

nit: "$OPENSHIFT_INSTALL_PATH/data/data/rhcos.json" should probably be yet another variable

Copy link
Author

Choose a reason for hiding this comment

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

It wasn't a variable before, and the path is decided by the installer repo - I don't understand under what circumstances someone would want to override this path, can you elaborate?

@andfasano
Copy link
Member

/lgtm

@andfasano
Copy link
Member

/approve

@openshift-ci
Copy link

openshift-ci bot commented Dec 2, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andfasano

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 2, 2021
@andfasano
Copy link
Member

/retest-required

@hardys
Copy link
Author

hardys commented Dec 3, 2021

/test e2e-metal-ipi

Looks like an issue with the image registry

@hardys
Copy link
Author

hardys commented Dec 3, 2021

/refresh

@openshift-merge-robot openshift-merge-robot merged commit 20e767b into openshift-metal3:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants