-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
pkg/rhcos/ami: Start supporting RHCOS channels #409
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
openshift/os@76b3ae5d (aws-test: Add a rhcos_test=smoketested tag, 2018-09-25, openshift/os#314) started adding rhcos_tag=alpha tags to tested AMIs. The likely plan for RHCOS tagging is [1], although they don't have stable docs for that yet. With this commit, we allow the user to specify whichever channel they want, and we search for that tag. If they give us nonsense, we'll now hit AWS, see no images in the nonsense channel, and report that back to the caller. Users that don't care about release channels and just want to use the latest image regardless of channel, can set 'channel' to an empty string. [1]: openshift/os#201 (comment)
@wking: The following test failed, say
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. 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. |
Hmm, the intention was more that the official API was our "AMI JSON" in http://aos-ostree.rhev-ci-vms.eng.rdu2.redhat.com/rhcos/images/aws-us-east-1-tested.json (though note there's a new version of that that just landed recently in http://aos-ostree.rhev-ci-vms.eng.rdu2.redhat.com/rhcos/images/aws-tested.json ) |
There was some discussion on this in Also, the public URI is https://s3.amazonaws.com/rhcos-public/aws-tested.json since openshift/os#313 (or at least that PR was part of creating the public bucket). We should probably prefer that. |
@wking: PR needs rebase. 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. |
@wking is this still in progress or has it stalled out? Can we close this if it isn't actionable at the moment? |
From this and later comments, we're going to stick to a single RHCOS channel for now (although for internal accounts the stream may differ from the public AMIs). We'll revisit once we get multiple channels somewhere. So we may want to restore a way to pin to a specific AMI, but we won't need the AWS tag filtering I'm using here. |
openshift/os@76b3ae5d (openshift/os#314) started adding
rhcos_tag=alpha
tags to tested AMIs. The likely plan for RHCOS tagging is here, although they don't have stable docs for that yet. With this commit, we allow the user to specify whichever channel they want, and we search for that tag. If they give us nonsense, we'll now hit AWS, see no images in the nonsense channel, and report that back to the caller.Users that don't care about release channels and just want to use the latest image regardless of channel, can set
channel
to an empty string./hold
We don't want to merge this until we sort out why CI seems to lack alpha tags.