Skip to content

hack: remove compile time RELEASE_IMAGE override#2217

Merged
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
stbenjam:fix-release-image-override
Aug 16, 2019
Merged

hack: remove compile time RELEASE_IMAGE override#2217
openshift-merge-robot merged 1 commit intoopenshift:masterfrom
stbenjam:fix-release-image-override

Conversation

@stbenjam
Copy link
Member

@stbenjam stbenjam commented Aug 14, 2019

The location of the defaultReleaseImage variable has moved to
pkg/asset/releaseimage, and this doesn't currently work. It also appears
nothing is relying on this feature so we can remove it. If you want to
override the release image, you can do at run time with
OPENSHIFT_RELEASE_IMAGE_OVERRIDE, which functions the same other than
not being embedded in the produced openshift-install binary.

@stbenjam
Copy link
Member Author

/assign @abhinavdahiya

@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 14, 2019
@stbenjam
Copy link
Member Author

We might be able to drop this, if OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE works for us at runtime.

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2019
The location of the defaultReleaseImage variable has moved to
pkg/asset/releaseimage, and this doesn't currently work. It also appears
nothing is relying on this feature so we can remove it.  If you want to
override the release image, you can do at run time with
OPENSHIFT_RELEASE_IMAGE_OVERRIDE, which functions the same other than
not being embedded in the produced openshift-install binary.
@stbenjam stbenjam force-pushed the fix-release-image-override branch from 7db394d to 0c706c4 Compare August 14, 2019 23:25
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Aug 14, 2019
@stbenjam stbenjam changed the title hack: allow overriding release image in build.sh hack: remove compile time RELEASE_IMAGE override Aug 14, 2019
@stbenjam
Copy link
Member Author

@abhinavdahiya Setting the release image at run time works fine for us, so I've changed this to remove the code entirely. PTAL.

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Aug 14, 2019
@abhinavdahiya
Copy link
Contributor

/assign @wking

LGTM

@abhinavdahiya
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 15, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, stbenjam

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

@abhinavdahiya
Copy link
Contributor

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit 0c05ff7 into openshift:master Aug 16, 2019
@openshift-ci-robot
Copy link
Contributor

@stbenjam: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-scaleup-rhel7 0c706c4 link /test e2e-aws-scaleup-rhel7

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants