Closed codificat closed 7 years ago
LGTM
@codificat I merged in two other APBs that probably conflicted with your Makefile and Travis changes. Please rebase and I will start testing.
Thanks @dymurray - Rebased and updated. Travis tests pass (which shows that they are not complete because they don't report a mismatch between the current apb-base and this image in bind-creds location...)
The main question I have is: this is using a plan to determine storage reqs. Are you ok with that or should we wait a bit more? (the commit history contains the previous implementation using a bool param instead of a plan, can revert to that)
I'll squash before merging
After talking with @codificat and @eriknelson our plan is to leave this PR OPEN until we implement plans in the Broker. @eriknelson will use this APB to test out the broker's implementation and this PR will be updated to match the final design.
I'm marking this as a WIP since the broker does not support plans yet and this APB may require some minor changes as we build things out on the broker side. I'm hoping to have plan support in the broker sometime in the next week so we'll have a broker that can actually deploy this.
Thank you @codificat, super helpful.
@dymurray I believe this is getting closer to be able to merge. I updated it to match recent changes in plan mgmt.
Known pending things:
travis tests are currently failing (since credentials passing switched to exec-based) because there's no broker that gets the bind credentials from the APB. I think this would fail with any other bindable APB that had similar tests in place... I'll probably update Makefiles on a separate PR if that's ok?
Rebase and squash all these commits before merging (I've been keeping history here to be able to look at progress/look back)
At this point though I'd like to get your thoughts about the content of the APB itself.
Thanks!
@codificat sorry for the delay. I tested your APB and it worked great on my end. I was able to deploy both plans and verified mysql came up. Please squash and rebase and I am happy to merge. I am fine with updating the makefile after.
An example APB to deploy MySQL using the rhscl images.
Still WIP but submitting for feedback.
Known pending tasks:
/etc/apb/bind-creds
so that it works under a restricted SCCcom.redhat.apb.spec
with the latest changes