-
Notifications
You must be signed in to change notification settings - Fork 462
hack: Add cluster-push-*.sh scripts #231
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
hack: Add cluster-push-*.sh scripts #231
Conversation
hack/cluster-push-prep.sh
Outdated
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.
I assume this is to remind people to NM, later on it occurs and this is a logging line 👍podman login 😄.
|
Just to link explicitly, here is a key bit of sorcery required. For me I ran the |
ashcrow
left a comment
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.
Looks good!! Only thing missing is a reference to it's use in one of the in-repo docs.
|
I sort of wonder though whether the real correct thing is to build a local release payload. There's some hints on that in the release payload doc, but I started this from the perpective of "automate the existing HACKING.md". |
openshift/installer#882 may fix this e2e issue. /test e2e-aws |
1423711 to
6ffc43e
Compare
|
OK, I updated the |
|
/test e2e-aws |
Sure, will give it a try. |
|
/test e2e-aws |
6ffc43e to
3d2f96a
Compare
|
OK updated again with a few bugs fixed; there was a nasty one that took be a bit to track down that the |
|
OK, I'm stuck on trying to get a libvirt cluster up: openshift/installer#889. |
390d8ef to
fc31f4f
Compare
|
OK, fixed one more bug. This now WFM from a clean install. The next bug though I'm hitting is I think there's a race between me patching the images configmap and then the deployment; the deployment seems to get reset back right away. But there's still high latency between the configmap change and the deployment change. |
|
/hold But nope it's deploying an ancient image for some reason; debugging... |
|
/hold cancel Well...I dunno how that happened. Seems to work in another try. If this looks useful to people I'd say we merge, we can always do followups. |
|
Giving this a try locally! |
fc31f4f to
8cfd987
Compare
I just got this working but I am feeling it's going to be a *dramatic* improvement in my development workflow. See the updated `HACKING.md` for details. Closes: openshift#230
8cfd987 to
4c600b8
Compare
|
Updated ⬆️ |
|
OK, this works locally for me now. Good stuff! /lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cgwalters, jlebon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I just got this working but I am feeling it's going
to be a dramatic improvement in my development workflow.
To set up, run
hack/cluster-push-prep.shonce after doingan install. Then run
hack/cluster-push.shto deploy a newMCD. Use
env WHAT=machine-config-controller hack/cluster-push.shto update the controller.
(Yes, these don't integrate with the
Makefileyet...)