pmorie / osb-starter-pack

A quickstart for making a new Open Service Broker
Apache License 2.0
69 stars 47 forks source link

CI should verify that this project can be successfully deployed #61

Open pmorie opened 6 years ago

pmorie commented 6 years ago

Ideally, there would be jobs that checked:

lilic commented 6 years ago

My suggestion for this setup would be to use minikube and TravisCI and just use client-go & co. to check if the Deployment was created. We use that setup in our Habitat operator and seemed to have worked great so far.

I am not sure this would work for openshift?

carolynvs commented 6 years ago

Would minikube just use a driverless config and setup the cluster directly on travis?

pmorie commented 6 years ago

It depends on what we're going to use for CI. It's too bad there isn't a cloud-native CI that will let you test stuff in a kube they create for you...

For openshift, we can just use oc cluster up --service-catalog=true and go from there.

On Mon, Feb 26, 2018 at 10:46 AM, Carolyn Van Slyck < notifications@github.com> wrote:

Would minikube just use a driverless config and setup the cluster directly on travis?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pmorie/osb-starter-pack/issues/61#issuecomment-368546155, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWXmPCAEm-U6JqYtAclfB0kusBF2gh7ks5tYtHIgaJpZM4SRRti .

carolynvs commented 6 years ago

It's too bad there isn't a cloud-native CI that will let you test stuff in a kube they create for you...

That would make my life so much easier. Please take my money. 💰

lilic commented 6 years ago

Would minikube just use a driverless config and setup the cluster directly on travis?

Example setup https://github.com/LiliC/travis-minikube of what I was thinking. More details explained here.