-
Notifications
You must be signed in to change notification settings - Fork 1.4k
hack/build: Pin to RHCOS 47.249 and quay.io/openshift-release-dev/ocp-release:4.0.0-0.1 (v0.10.1) #1114
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
Conversation
Through b166e2e (Merge pull request openshift#1039 from wking/tag-search-destroy, 2019-01-22).
…-release:4.0.0-0.1 Recycling the RHCOS build from 76f91bd (hack/build: Bump RHCOS from 47.245 to 47.249, 2019-01-07, openshift#1009, v0.9.1). Clayton pushed 4.0-art-latest-2019-01-15-010905 to quay.io/openshift-release-dev/ocp-release:4.0.0-0.1 for 0.10.0, and we've had stability issues in master since then, so we're cutting this release without an update-payload bump. Renaming OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE gets us CI testing of the pinned release despite openshift/release@60007df2 (Use RELEASE_IMAGE_LATEST for CVO payload, 2018-10-03, openshift/release#1793). Also comment out regions which this particular RHCOS build wasn't pushed to, leaving only: $ curl -s https://releases-rhcos.svc.ci.openshift.org/storage/releases/maipo/47.246/meta.json | jq -r '.amis[] | .name' ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-east-2 us-west-1 us-west-2 I'd initially expected to export the pinning environment variables in release.sh, but I've put them in build.sh here because our continuous integration tests use build.sh directly and don't go through release.sh.
/hold |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: crawford, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
e2e-aws hung:
/retest |
All green, and tagged as v0.10.1. |
@@ -145,7 +145,7 @@ func (a *Bootstrap) getTemplateData(installConfig *types.InstallConfig) (*bootst | |||
} | |||
|
|||
releaseImage := defaultReleaseImage | |||
if ri, ok := os.LookupEnv("OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE"); ok && ri != "" { | |||
if ri, ok := os.LookupEnv("_OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE"); ok && ri != "" { |
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.
why?
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.
So that the CI doesn't override our image with the latest. It's a hack, but we don't support overriding the release image, so nobody should need this.
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.
Notes on this in the commit message too, but since we've used this pattern a few times now I didn't copy that paragraph into the PR post.
DO NOT MERGE! This PR is just for CI coverage.
Recycling the RHCOS build from 76f91bd (#1009, v0.9.1).
Recycling the update payload from 9ccba22 (#1068, v0.10.0). We've had stability issues in master since then which are blocking a new update-payload.